2012-04-10 08:51:08 +03:00
|
|
|
%ul.nav.nav-tabs
|
2012-09-26 16:14:17 -04:00
|
|
|
= nav_link(path: 'projects#show') do
|
2012-08-10 18:07:50 -04:00
|
|
|
= link_to project_path(@project), class: "activities-tab tab" do
|
2012-04-17 22:08:07 +03:00
|
|
|
%i.icon-home
|
2012-02-08 01:00:49 +02:00
|
|
|
Show
|
2012-09-26 16:14:17 -04:00
|
|
|
= nav_link(controller: :team_members) do
|
2012-09-16 09:21:20 -04:00
|
|
|
= link_to project_team_index_path(@project), class: "team-tab tab" do
|
2012-04-17 22:08:07 +03:00
|
|
|
%i.icon-user
|
2012-01-27 08:57:55 +02:00
|
|
|
Team
|
2012-09-26 16:14:17 -04:00
|
|
|
= nav_link(path: 'projects#files') do
|
|
|
|
= link_to 'Attachments', files_project_path(@project), class: "files-tab tab"
|
|
|
|
= nav_link(controller: :snippets) do
|
|
|
|
= link_to 'Snippets', project_snippets_path(@project), class: "snippets-tab tab"
|
2012-02-20 20:37:37 +02:00
|
|
|
|
|
|
|
- if can? current_user, :admin_project, @project
|
2012-09-26 16:14:17 -04:00
|
|
|
= nav_link(controller: :deploy_keys, html_options: {class: 'right'}) do
|
2012-06-04 01:37:27 +03:00
|
|
|
= link_to project_deploy_keys_path(@project) do
|
2012-02-20 08:39:03 +02:00
|
|
|
%span
|
|
|
|
Deploy Keys
|
2012-09-26 16:14:17 -04:00
|
|
|
= nav_link(controller: :hooks, html_options: {class: 'right'}) do
|
2012-06-04 01:37:27 +03:00
|
|
|
= link_to project_hooks_path(@project) do
|
2012-03-03 13:03:03 +02:00
|
|
|
%span
|
|
|
|
Hooks
|
2012-09-26 16:14:17 -04:00
|
|
|
= nav_link(path: 'projects#edit', html_options: {class: 'right'}) do
|
2012-08-10 18:07:50 -04:00
|
|
|
= link_to edit_project_path(@project), class: "stat-tab tab " do
|
2012-04-17 22:08:07 +03:00
|
|
|
%i.icon-edit
|
2012-03-03 13:03:03 +02:00
|
|
|
Edit
|