Commit f86df73c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

removed dots from menu, renamed Code to Files

parent 4d89322d
...@@ -6,10 +6,7 @@ ...@@ -6,10 +6,7 @@
- if @project.repo_exists? - if @project.repo_exists?
= link_to "Repository", project_repository_path(@project), :class => repository_tab_class = link_to "Repository", project_repository_path(@project), :class => repository_tab_class
%ul = link_to "Files", tree_project_ref_path(@project, @project.root_ref), :class => tree_tab_class
%li
= link_to "Code", tree_project_ref_path(@project, @project.root_ref), :class => tree_tab_class
%li
= link_to "Commits", project_commits_path(@project), :class => (controller.controller_name == "commits") ? "current" : nil = link_to "Commits", project_commits_path(@project), :class => (controller.controller_name == "commits") ? "current" : nil
= link_to "Network", graph_project_path(@project), :class => current_page?(:controller => "projects", :action => "graph", :id => @project) ? "current" : nil = link_to "Network", graph_project_path(@project), :class => current_page?(:controller => "projects", :action => "graph", :id => @project) ? "current" : nil
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
Team Team
%li{ :class => "#{'active' if current_page?(files_project_path(@project)) }" } %li{ :class => "#{'active' if current_page?(files_project_path(@project)) }" }
= link_to files_project_path(@project), :class => "files-tab tab " do = link_to files_project_path(@project), :class => "files-tab tab " do
Files Attachments
%li{ :class => " #{'active' if (controller.controller_name == "snippets") }" } %li{ :class => " #{'active' if (controller.controller_name == "snippets") }" }
= link_to project_snippets_path(@project), :class => "snippets-tab tab" do = link_to project_snippets_path(@project), :class => "snippets-tab tab" do
Snippets Snippets
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment