Use consistent words, feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7383#note_19581826
This commit is contained in:
Lin Jen-Shin 2016-12-10 02:25:31 +08:00
parent 8ac50d78eb
commit f979653951
4 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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.)

View File

@ -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)

View File

@ -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.)