diff options
Diffstat (limited to 'app/views/projects/_project_head.html.haml')
-rw-r--r-- | app/views/projects/_project_head.html.haml | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/app/views/projects/_project_head.html.haml b/app/views/projects/_project_head.html.haml index f8a4f9c5c38..ebf0748c8a4 100644 --- a/app/views/projects/_project_head.html.haml +++ b/app/views/projects/_project_head.html.haml @@ -16,16 +16,13 @@ %li{ :class => " #{'active' if (controller.controller_name == "snippets") }" } = link_to project_snippets_path(@project), :class => "snippets-tab tab" do Snippets - -#%li{:class => "#{'active' if current_page?(project_repository_path(@project)) }"} - -#= link_to project_repository_path(@project) do - -#%span - -#Activities - %li{:class => "#{'active' if controller.controller_name == "hooks" }"} - = link_to project_hooks_path(@project) do - %span - Hooks - %li{:class => "#{'active' if controller.controller_name == "deploy_keys"}"} - - if can? current_user, :admin_project, @project + + - if can? current_user, :admin_project, @project + %li{:class => "#{'active' if controller.controller_name == "hooks" }"} + = link_to project_hooks_path(@project) do + %span + Hooks + %li{:class => "#{'active' if controller.controller_name == "deploy_keys"}"} = link_to project_deploy_keys_path(@project) do %span Deploy Keys |