Home tab added, Repository tab removed\n Ability to download branch

This commit is contained in:
Dmitriy Zaporozhets 2012-02-20 08:39:03 +02:00
parent 40ac2ebc21
commit 5f4a7c3e04
22 changed files with 125 additions and 94 deletions

View file

@ -16,3 +16,16 @@
%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
= link_to project_deploy_keys_path(@project) do
%span
Deploy Keys