diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-20 22:37:37 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-20 22:37:37 +0400 |
commit | 6a445b42003007cbb6c06f477c4d7a0b175688c1 (patch) | |
tree | 9c60577833f6ca717acdebfa66140124c88e8471 /app/views/projects/_project_head.html.haml | |
parent | 22f4c1908d0fc2dbce02e74ed03bf65f028d78d6 (diff) |
fixed forgot password formv2.2.0pre
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 |