From 6a445b42003007cbb6c06f477c4d7a0b175688c1 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 20 Feb 2012 20:37:37 +0200 Subject: fixed forgot password form --- app/views/projects/_project_head.html.haml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'app/views/projects/_project_head.html.haml') 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 -- cgit v1.2.3