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
f9796539
Commit
f9796539
authored
Dec 10, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use consistent words, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7383#note_19581826
parent
8ac50d78
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
app/views/admin/deploy_keys/index.html.haml
app/views/admin/deploy_keys/index.html.haml
+1
-1
app/views/admin/deploy_keys/new.html.haml
app/views/admin/deploy_keys/new.html.haml
+1
-1
app/views/projects/deploy_keys/_deploy_key.html.haml
app/views/projects/deploy_keys/_deploy_key.html.haml
+2
-2
app/views/projects/deploy_keys/_form.html.haml
app/views/projects/deploy_keys/_form.html.haml
+1
-1
No files found.
app/views/admin/deploy_keys/index.html.haml
View file @
f9796539
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
%tr
%tr
%th
Title
%th
Title
%th
Fingerprint
%th
Fingerprint
%th
Write access
%th
Write access
allowed
%th
Added at
%th
Added at
%th
%th
%tbody
%tbody
...
...
app/views/admin/deploy_keys/new.html.haml
View file @
f9796539
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
.col-sm-10
.col-sm-10
=
f
.
label
:can_push
do
=
f
.
label
:can_push
do
=
f
.
check_box
:can_push
=
f
.
check_box
:can_push
%strong
Write access allowed
?
%strong
Write access allowed
%p
.light.append-bottom-0
%p
.light.append-bottom-0
Allow this key to push to repository as well? (Default only allows pull access.)
Allow this key to push to repository as well? (Default only allows pull access.)
...
...
app/views/projects/deploy_keys/_deploy_key.html.haml
View file @
f9796539
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
.description
.description
=
deploy_key
.
fingerprint
=
deploy_key
.
fingerprint
-
if
deploy_key
.
can_push?
-
if
deploy_key
.
can_push?
.
can-write
.
write-access-allowed
Can write
Write access allowed
.deploy-key-content.prepend-left-default.deploy-key-projects
.deploy-key-content.prepend-left-default.deploy-key-projects
-
deploy_key
.
projects
.
each
do
|
project
|
-
deploy_key
.
projects
.
each
do
|
project
|
-
if
can?
(
current_user
,
:read_project
,
project
)
-
if
can?
(
current_user
,
:read_project
,
project
)
...
...
app/views/projects/deploy_keys/_form.html.haml
View file @
f9796539
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
.checkbox
.checkbox
=
f
.
label
:can_push
do
=
f
.
label
:can_push
do
=
f
.
check_box
:can_push
=
f
.
check_box
:can_push
%strong
Write access allowed
?
%strong
Write access allowed
.form-group
.form-group
%p
.light.append-bottom-0
%p
.light.append-bottom-0
Allow this key to push to repository as well? (Default only allows pull access.)
Allow this key to push to repository as well? (Default only allows pull access.)
...
...
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