Commit 60257c05 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch 'Fix-long-deploy-token-name-overflows-revocation-modal' into 'master'

Fix long deploy token name overflows revocation modal

See merge request gitlab-org/gitlab!51114
parents 52a7120a 5c6965e3
......@@ -10,6 +10,6 @@
%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|This action cannot be undone.')
.modal-footer
.modal-footer.gl-flex-direction-row
%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