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
6a8fa8a2
Commit
6a8fa8a2
authored
Apr 13, 2021
by
Takuya Noguchi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace label_tag with form.label in Deploy Token UI
Signed-off-by:
Takuya Noguchi
<
takninnovationresearch@gmail.com
>
parent
43310934
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
app/views/shared/deploy_tokens/_form.html.haml
app/views/shared/deploy_tokens/_form.html.haml
+5
-5
No files found.
app/views/shared/deploy_tokens/_form.html.haml
View file @
6a8fa8a2
...
...
@@ -22,29 +22,29 @@
=
f
.
label
:scopes
,
_
(
'Scopes [Select 1 or more]'
),
class:
'label-bold'
%fieldset
.form-group.form-check
=
f
.
check_box
:read_repository
,
class:
'form-check-input qa-deploy-token-read-repository'
=
label_tag
(
"deploy_token_read_repository"
)
,
'read_repository'
,
class:
'label-bold form-check-label'
=
f
.
label
:read_repository
,
'read_repository'
,
class:
'label-bold form-check-label'
.text-secondary
=
s_
(
'DeployTokens|Allows read-only access to the repository.'
)
-
if
container_registry_enabled?
(
group_or_project
)
%fieldset
.form-group.form-check
=
f
.
check_box
:read_registry
,
class:
'form-check-input qa-deploy-token-read-registry'
=
label_tag
(
"deploy_token_read_registry"
)
,
'read_registry'
,
class:
'label-bold form-check-label'
=
f
.
label
:read_registry
,
'read_registry'
,
class:
'label-bold form-check-label'
.text-secondary
=
s_
(
'DeployTokens|Allows read-only access to registry images.'
)
%fieldset
.form-group.form-check
=
f
.
check_box
:write_registry
,
class:
'form-check-input'
=
label_tag
(
"deploy_token_write_registry"
)
,
'write_registry'
,
class:
'label-bold form-check-label'
=
f
.
label
:write_registry
,
'write_registry'
,
class:
'label-bold form-check-label'
.text-secondary
=
s_
(
'DeployTokens|Allows write access to registry images.'
)
-
if
packages_registry_enabled?
(
group_or_project
)
%fieldset
.form-group.form-check
=
f
.
check_box
:read_package_registry
,
class:
'form-check-input'
=
label_tag
(
"deploy_token_read_package_registry"
)
,
'read_package_registry'
,
class:
'label-bold form-check-label'
=
f
.
label
:read_package_registry
,
'read_package_registry'
,
class:
'label-bold form-check-label'
.text-secondary
=
s_
(
'DeployTokens|Allows read access to the package registry.'
)
%fieldset
.form-group.form-check
=
f
.
check_box
:write_package_registry
,
class:
'form-check-input'
=
label_tag
(
"deploy_token_write_package_registry"
)
,
'write_package_registry'
,
class:
'label-bold form-check-label'
=
f
.
label
:write_package_registry
,
'write_package_registry'
,
class:
'label-bold form-check-label'
.text-secondary
=
s_
(
'DeployTokens|Allows write access to the package registry.'
)
.gl-mt-3
...
...
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