2012-04-10 07:51:08 +02:00
|
|
|
%ul.nav.nav-tabs
|
2012-01-27 07:57:55 +01:00
|
|
|
%li{ :class => "#{'active' if current_page?(project_path(@project)) }" }
|
|
|
|
= link_to project_path(@project), :class => "activities-tab tab" do
|
2012-04-17 21:08:07 +02:00
|
|
|
%i.icon-home
|
2012-02-08 00:00:49 +01:00
|
|
|
Show
|
|
|
|
%li{ :class => " #{'active' if (controller.controller_name == "team_members") || current_page?(team_project_path(@project)) }" }
|
2012-01-27 07:57:55 +01:00
|
|
|
= link_to team_project_path(@project), :class => "team-tab tab" do
|
2012-04-17 21:08:07 +02:00
|
|
|
%i.icon-user
|
2012-01-27 07:57:55 +01:00
|
|
|
Team
|
|
|
|
%li{ :class => "#{'active' if current_page?(files_project_path(@project)) }" }
|
|
|
|
= link_to files_project_path(@project), :class => "files-tab tab " do
|
2012-02-08 18:18:38 +01:00
|
|
|
Attachments
|
2012-02-08 00:00:49 +01:00
|
|
|
%li{ :class => " #{'active' if (controller.controller_name == "snippets") }" }
|
2012-01-27 07:57:55 +01:00
|
|
|
= link_to project_snippets_path(@project), :class => "snippets-tab tab" do
|
|
|
|
Snippets
|
2012-02-20 19:37:37 +01:00
|
|
|
|
|
|
|
- if can? current_user, :admin_project, @project
|
2012-03-03 12:03:03 +01:00
|
|
|
%li.right{:class => "#{'active' if controller.controller_name == "deploy_keys"}"}
|
2012-02-20 07:39:03 +01:00
|
|
|
= link_to project_deploy_keys_path(@project) do
|
|
|
|
%span
|
|
|
|
Deploy Keys
|
2012-03-03 12:03:03 +01:00
|
|
|
%li.right{:class => "#{'active' if controller.controller_name == "hooks" }"}
|
|
|
|
= link_to project_hooks_path(@project) do
|
|
|
|
%span
|
|
|
|
Hooks
|
|
|
|
%li.right{ :class => "#{'active' if current_page?(edit_project_path(@project)) }" }
|
|
|
|
= link_to edit_project_path(@project), :class => "stat-tab tab " do
|
2012-04-17 21:08:07 +02:00
|
|
|
%i.icon-edit
|
2012-03-03 12:03:03 +01:00
|
|
|
Edit
|
|
|
|
|