2012-01-14 23:46:06 +02:00
|
|
|
.top-tabs.repository
|
2011-12-31 12:52:01 +02:00
|
|
|
= link_to project_repository_path(@project), :class => "activities-tab tab #{'active' if current_page?(project_repository_path(@project)) }" do
|
2011-12-30 22:56:13 +02:00
|
|
|
%span
|
|
|
|
Activities
|
2011-12-31 13:12:10 +02:00
|
|
|
= link_to branches_project_repository_path(@project), :class => "tab #{'active' if current_page?(branches_project_repository_path(@project)) }" do
|
2011-12-30 22:56:13 +02:00
|
|
|
%span
|
|
|
|
Branches
|
2011-12-31 13:12:10 +02:00
|
|
|
= link_to tags_project_repository_path(@project), :class => "tab #{'active' if current_page?(tags_project_repository_path(@project)) }" do
|
2011-12-30 22:56:13 +02:00
|
|
|
%span
|
|
|
|
Tags
|
2012-01-04 02:07:56 +02:00
|
|
|
= link_to project_hooks_path, :class => "tab #{'active' if controller.controller_name == "hooks" }" do
|
2011-12-30 22:56:13 +02:00
|
|
|
%span
|
|
|
|
Hooks
|
2012-01-14 21:26:35 +02:00
|
|
|
- if can? current_user, :admin_project, @project
|
|
|
|
= link_to project_deploy_keys_path(@project), :class => "tab #{'active' if controller.controller_name == "deploy_keys"}" do
|
|
|
|
%span
|
|
|
|
Deploy Keys
|
2011-12-30 22:56:13 +02:00
|
|
|
|
2012-01-11 09:35:21 +02:00
|
|
|
- if current_page?(project_hooks_path(@project))
|
|
|
|
- if can? current_user, :admin_project, @project
|
|
|
|
= link_to new_project_hook_path(@project), :class => "add_new", :title => "New Web Hook" do
|
2012-01-18 22:15:45 +02:00
|
|
|
Add new
|
2011-12-30 22:56:13 +02:00
|
|
|
|
2012-01-14 21:26:35 +02:00
|
|
|
- if current_page?(project_deploy_keys_path(@project))
|
|
|
|
- if can? current_user, :admin_project, @project
|
2012-01-18 00:46:13 +02:00
|
|
|
= link_to new_project_deploy_key_path(@project), :class => "add_new", :title => "New Deploy Key" do
|
2012-01-18 22:15:45 +02:00
|
|
|
Add new
|
2011-12-30 22:56:13 +02:00
|
|
|
|