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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
7a5b5f1e
Commit
7a5b5f1e
authored
Jul 18, 2018
by
Marcel Amirault
Committed by
Phil Hughes
Jul 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update _form.html.haml (deploy tokens) to improve display of scopes
parent
d8118902
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
app/views/projects/deploy_tokens/_form.html.haml
app/views/projects/deploy_tokens/_form.html.haml
+8
-8
changelogs/unreleased/ravlen-deploy-tokens-display-update.yml
...gelogs/unreleased/ravlen-deploy-tokens-display-update.yml
+5
-0
No files found.
app/views/projects/deploy_tokens/_form.html.haml
View file @
7a5b5f1e
...
...
@@ -14,16 +14,16 @@
.form-group
=
f
.
label
:scopes
,
class:
'label-light'
%fieldset
=
f
.
check_box
:read_repository
=
label_tag
(
"deploy_token_read_repository"
),
'read_repository'
%span
=
s_
(
'DeployTokens|Allows read-only access to the repository'
)
%fieldset
.form-group.form-check
=
f
.
check_box
:read_repository
,
class:
'form-check-input'
=
label_tag
(
"deploy_token_read_repository"
),
'read_repository'
,
class:
'label-light form-check-label'
.text-secondary
=
s_
(
'DeployTokens|Allows read-only access to the repository'
)
-
if
container_registry_enabled?
(
project
)
%fieldset
=
f
.
check_box
:read_registry
=
label_tag
(
"deploy_token_read_registry"
),
'read_registry'
%span
=
s_
(
'DeployTokens|Allows read-only access to the registry images'
)
%fieldset
.form-group.form-check
=
f
.
check_box
:read_registry
,
class:
'form-check-input'
=
label_tag
(
"deploy_token_read_registry"
),
'read_registry'
,
class:
'label-light form-check-label'
.text-secondary
=
s_
(
'DeployTokens|Allows read-only access to the registry images'
)
.prepend-top-default
=
f
.
submit
s_
(
'DeployTokens|Create deploy token'
),
class:
'btn btn-success'
changelogs/unreleased/ravlen-deploy-tokens-display-update.yml
0 → 100644
View file @
7a5b5f1e
---
title
:
"
Cleans
up
display
of
Deploy
Tokens
to
match
Personal
Access
Tokens"
merge_request
:
20578
author
:
Marcel Amirault
type
:
added
\ No newline at end of file
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