rosa-build/app/views/projects/show.html.haml

42 lines
1.7 KiB
Plaintext
Raw Normal View History

2011-03-31 02:56:20 +01:00
.block
.secondary-navigation
%ul.wat-cf
%li.first= link_to t("layout.projects.list"), platform_repository_path(@platform, @repository) + "#projects"
%li= link_to t("layout.projects.new"), new_platform_repository_project_path(@platform, @repository)
%li.active= link_to t("layout.projects.show"), platform_repository_project_path(@platform, @repository, @project)
%li= link_to "git-repo", platform_repository_project_repo_path(@platform, @repository, @project)
2011-04-11 17:37:09 +01:00
%li= link_to t("layout.projects.build"), build_platform_repository_project_path(@platform, @repository, @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
= t("activerecord.attributes.project.repository")
\:
= @project.repository.name
.wat-cf
= link_to image_tag("web-app-theme/icons/cross.png", :alt => t("layout.delete")) + " " + t("layout.delete"), platform_repository_project_path(@platform, @repository, @project), :method => "delete", :class => "button", :confirm => t("layout.projects.confirm_delete")
2011-04-07 14:20:21 +01:00
%a{ :name => "build_lists"}
.block
.secondary-navigation
%ul.wat-cf
%li.first.active= link_to t("layout.build_lists.current"), platform_repository_project_path(@platform, @repository, @project) + "#build_lists"
%li= link_to t("layout.build_lists.all"), platform_repository_project_build_lists_path(@platform, @repository, @project)
.content
= render :partial => "build_lists/build_lists", :object => @current_build_lists
- content_for :sidebar, render(:partial => 'sidebar')