2011-03-31 02:56:20 +01:00
|
|
|
.block
|
|
|
|
.secondary-navigation
|
|
|
|
%ul.wat-cf
|
2011-10-17 15:21:29 +01:00
|
|
|
%li.first= link_to t("layout.projects.list"), projects_path
|
|
|
|
%li= link_to t("layout.projects.new"), new_project_path
|
|
|
|
%li.active= link_to t("layout.projects.show"), project_path(@project)
|
2011-10-24 11:19:04 +01:00
|
|
|
%li= link_to "git-repo", project_repo_path(@project)
|
2011-10-22 16:28:41 +01:00
|
|
|
%li= link_to t("layout.projects.build"), build_project_path(@project)
|
2011-03-31 02:56:20 +01:00
|
|
|
|
|
|
|
.content
|
|
|
|
.inner
|
|
|
|
%p
|
|
|
|
%b
|
|
|
|
= t("activerecord.attributes.project.name")
|
|
|
|
\:
|
|
|
|
= @project.name
|
|
|
|
%p
|
|
|
|
%b
|
|
|
|
= t("activerecord.attributes.project.unixname")
|
|
|
|
\:
|
|
|
|
= @project.unixname
|
|
|
|
%p
|
|
|
|
%b
|
2011-10-17 15:21:29 +01:00
|
|
|
= t("activerecord.attributes.project.owner")
|
2011-03-31 02:56:20 +01:00
|
|
|
\:
|
2011-10-17 17:07:53 +01:00
|
|
|
= link_to @project.owner.try(:name), url_for(@project.owner)
|
2011-10-17 15:21:29 +01:00
|
|
|
%p
|
|
|
|
%b
|
|
|
|
= t("activerecord.attributes.project.visibility")
|
|
|
|
\:
|
|
|
|
= @project.visibility
|
|
|
|
/ %p
|
|
|
|
/ %b
|
|
|
|
/ = t("activerecord.attributes.project.repository")
|
|
|
|
/ \:
|
|
|
|
/ = @project.repository.name
|
2011-03-31 02:56:20 +01:00
|
|
|
.wat-cf
|
2011-10-17 15:21:29 +01:00
|
|
|
= link_to image_tag("web-app-theme/icons/cross.png", :alt => t("layout.delete")) + " " + t("layout.delete"), project_path(@project), :method => "delete", :class => "button", :confirm => t("layout.projects.confirm_delete")
|
2011-03-31 02:56:20 +01:00
|
|
|
|
2011-04-07 14:20:21 +01:00
|
|
|
%a{ :name => "build_lists"}
|
|
|
|
.block
|
|
|
|
.secondary-navigation
|
|
|
|
%ul.wat-cf
|
2011-10-17 15:21:29 +01:00
|
|
|
%li.first.active= link_to t("layout.build_lists.current"), project_path(@project) + "#build_lists"
|
|
|
|
%li= link_to t("layout.build_lists.all"), project_build_lists_path(@project)
|
2011-04-07 14:20:21 +01:00
|
|
|
|
|
|
|
.content
|
|
|
|
|
|
|
|
= render :partial => "build_lists/build_lists", :object => @current_build_lists
|
|
|
|
|
2011-10-17 15:21:29 +01:00
|
|
|
-# content_for :sidebar, render(:partial => 'sidebar')
|