2012-04-10 07:51:08 +02:00
|
|
|
%ul.nav.nav-tabs
|
2012-09-26 22:14:17 +02:00
|
|
|
= nav_link(path: 'projects#show') do
|
2012-08-11 00:07:50 +02:00
|
|
|
= 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
|
2013-01-23 15:14:20 +01:00
|
|
|
= nav_link(controller: [:team_members, :teams]) do
|
2012-09-16 15:21:20 +02:00
|
|
|
= link_to project_team_index_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
|
2012-09-26 22:14:17 +02: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 19:37:37 +01:00
|
|
|
|
|
|
|
- if can? current_user, :admin_project, @project
|
2013-01-30 16:13:05 +01:00
|
|
|
= nav_link(controller: :deploy_keys, html_options: {class: 'pull-right'}) do
|
2012-06-04 00:37:27 +02:00
|
|
|
= link_to project_deploy_keys_path(@project) do
|
2012-02-20 07:39:03 +01:00
|
|
|
%span
|
|
|
|
Deploy Keys
|
2013-01-30 16:13:05 +01:00
|
|
|
= nav_link(controller: :hooks, html_options: {class: 'pull-right'}) do
|
2012-06-04 00:37:27 +02:00
|
|
|
= link_to project_hooks_path(@project) do
|
2012-03-03 12:03:03 +01:00
|
|
|
%span
|
|
|
|
Hooks
|
2013-01-30 16:13:05 +01:00
|
|
|
= nav_link(controller: :services, html_options: {class: 'pull-right'}) do
|
2012-11-19 20:34:05 +01:00
|
|
|
= link_to project_services_path(@project) do
|
|
|
|
%span
|
|
|
|
Services
|
2013-01-30 16:13:05 +01:00
|
|
|
= nav_link(path: 'projects#edit', html_options: {class: 'pull-right'}) do
|
2012-08-11 00:07:50 +02:00
|
|
|
= 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
|