[refs #223] Add new build btn to project page
This commit is contained in:
parent
207be85ff4
commit
3cff036508
|
@ -1,2 +1,4 @@
|
|||
- if can? :fork, @project
|
||||
.r#fork-and-edit= link_to t('layout.projects.fork_and_edit'), fork_project_path(@project), :method => :post, :confirm => t("layout.confirm"), :class => 'button'
|
||||
.r#fork-and-edit= link_to t('layout.projects.fork_and_edit'), fork_project_path(@project), :method => :post, :confirm => t("layout.confirm"), :class => 'button'
|
||||
- if can? :create, @project.build_lists.new
|
||||
.r{:style => "display: block"}= link_to t('layout.projects.new_build_list'), new_project_build_list_path(@project), :class => 'button'
|
||||
|
|
|
@ -10,6 +10,7 @@ en:
|
|||
show: Project
|
||||
build: Build
|
||||
new_build: New build %{project_name}
|
||||
new_build_list: New build
|
||||
confirm_delete: Are you sure you want to delete this project?
|
||||
new: New project
|
||||
location: Location
|
||||
|
|
|
@ -10,6 +10,7 @@ ru:
|
|||
show: Проект
|
||||
build: Собрать
|
||||
new_build: Новая сборка %{project_name}
|
||||
new_build_list: Новая сборка
|
||||
confirm_delete: Вы уверены, что хотите удалить этот проект?
|
||||
new: Новый проект
|
||||
location: Расположение
|
||||
|
|
Loading…
Reference in New Issue