Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5c6965e3
Commit
5c6965e3
authored
Jan 07, 2021
by
Kev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix long deploy token name overflows revocation modal
parent
100fd975
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/shared/deploy_tokens/_revoke_modal.html.haml
app/views/shared/deploy_tokens/_revoke_modal.html.haml
+2
-2
changelogs/unreleased/Fix-long-deploy-token-name-overflows-revocation-modal.yml
...Fix-long-deploy-token-name-overflows-revocation-modal.yml
+5
-0
No files found.
app/views/shared/deploy_tokens/_revoke_modal.html.haml
View file @
5c6965e3
...
@@ -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
'
changelogs/unreleased/Fix-long-deploy-token-name-overflows-revocation-modal.yml
0 → 100644
View file @
5c6965e3
---
title
:
Fix long deploy token name overflows revocation modal
merge_request
:
51114
author
:
Kev @KevSlashNull
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment