2011-12-30 21:56:13 +01:00
|
|
|
.merge-tabs.repository
|
2011-12-31 11:52:01 +01:00
|
|
|
= link_to project_repository_path(@project), :class => "activities-tab tab #{'active' if current_page?(project_repository_path(@project)) }" do
|
2011-12-30 21:56:13 +01:00
|
|
|
%span
|
|
|
|
Activities
|
2011-12-31 12:12:10 +01:00
|
|
|
= link_to branches_project_repository_path(@project), :class => "tab #{'active' if current_page?(branches_project_repository_path(@project)) }" do
|
2011-12-30 21:56:13 +01:00
|
|
|
%span
|
|
|
|
Branches
|
2011-12-31 12:12:10 +01:00
|
|
|
= link_to tags_project_repository_path(@project), :class => "tab #{'active' if current_page?(tags_project_repository_path(@project)) }" do
|
2011-12-30 21:56:13 +01:00
|
|
|
%span
|
|
|
|
Tags
|
2012-01-04 01:07:56 +01:00
|
|
|
= link_to project_hooks_path, :class => "tab #{'active' if controller.controller_name == "hooks" }" do
|
2011-12-30 21:56:13 +01:00
|
|
|
%span
|
|
|
|
Hooks
|
2011-12-31 12:12:10 +01:00
|
|
|
-#= link_to "#", :class => "tab" do
|
2011-12-30 21:56:13 +01:00
|
|
|
%span
|
|
|
|
Deploy Keys
|
|
|
|
|
2012-01-11 08:35:21 +01: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
|
|
|
|
= image_tag "add_new.png", :width => 14
|
2011-12-30 21:56:13 +01:00
|
|
|
|
|
|
|
|