Commit 5c6965e3 authored by Kev's avatar Kev

Fix long deploy token name overflows revocation modal

parent 100fd975
...@@ -10,6 +10,6 @@ ...@@ -10,6 +10,6 @@
%p %p
= s_('DeployTokens|You are about to revoke %{b_start}%{name}%{b_end}.').html_safe % { b_start: '<b>'.html_safe, name: token.name, b_end: '</b>'.html_safe } = s_('DeployTokens|You are about to revoke %{b_start}%{name}%{b_end}.').html_safe % { b_start: '<b>'.html_safe, name: token.name, b_end: '</b>'.html_safe }
= s_('DeployTokens|This action cannot be undone.') = s_('DeployTokens|This action cannot be undone.')
.modal-footer .modal-footer.gl-flex-direction-row
%a{ href: '#', data: { dismiss: 'modal' }, class: 'btn btn-default' }= _('Cancel') %a{ href: '#', data: { dismiss: 'modal' }, class: 'btn btn-default' }= _('Cancel')
= link_to s_('DeployTokens|Revoke %{name}') % { name: token.name }, revoke_deploy_token_path(group_or_project, token), method: :put, class: 'btn btn-danger' = link_to s_('DeployTokens|Revoke %{name}') % { name: token.name }, revoke_deploy_token_path(group_or_project, token), method: :put, class: 'btn btn-danger text-truncate'
---
title: Fix long deploy token name overflows revocation modal
merge_request: 51114
author: Kev @KevSlashNull
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment