24 lines
902 B
Plaintext
24 lines
902 B
Plaintext
.block
|
|
.secondary-navigation
|
|
%ul.wat-cf
|
|
%li.first= link_to t("layout.projects.list"), projects_path
|
|
%li= link_to t("layout.projects.new"), new_project_path
|
|
%li= link_to t("layout.projects.show"), project_path(@project)
|
|
%li= link_to t("layout.git.repositories.source"), project_repo_path(@project)
|
|
- if can? :write, @project
|
|
%li= link_to t("layout.projects.build"), new_project_build_list_path(@project)
|
|
%li= link_to t("layout.projects.issues"), project_issues_path(@project)
|
|
%li.active= link_to t("layout.projects.wiki"), project_wiki_index_path(@project)
|
|
|
|
.content
|
|
.inner
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.project.name")
|
|
\:
|
|
= @project.name
|
|
%p
|
|
%b
|
|
= t("activerecord.attributes.project.owner")
|
|
\:
|
|
= link_to @project.owner.try(:name), url_for(@project.owner) |