Merge pull request #368 from warpc/195-new_design_for_projects
[issue #195] Fixed access string in repo block
This commit is contained in:
commit
0f597ad544
|
@ -1,6 +1,6 @@
|
|||
.description-top
|
||||
= text_field_tag :url, git_repo_url(project.git_repo_name), :class => 'name', :spellcheck => 'false', :readonly => true
|
||||
.role= t("layout.read_write_access")
|
||||
.role= can?(:write, project) ? t("layout.read_write_access") : t("layout.read_access")
|
||||
= render :partial => 'projects/branch_select', :locals => {:project => project}
|
||||
.both
|
||||
:javascript
|
||||
|
|
|
@ -9,6 +9,7 @@ en:
|
|||
enter_commit_message: Commit message
|
||||
|
||||
read_write_access: read & write
|
||||
read_access: read-only
|
||||
|
||||
by: by
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ ru:
|
|||
enter_commit_message: Сопровождающее сообщение
|
||||
|
||||
read_write_access: чтение и запись
|
||||
read_access: только чтение
|
||||
|
||||
by: ''
|
||||
|
||||
|
|
Loading…
Reference in New Issue