diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-08 19:18:38 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-08 19:18:38 +0200 |
commit | f86df73c1ad49346eba2d80138a93e8cdb6ce406 (patch) | |
tree | 7ffb66fcbf62c71b7e9e7c3ac2cdaf7e03d0638e | |
parent | 4d89322d6785580e9a77e2536b8f2a7db8482664 (diff) | |
download | gitlab-ce-f86df73c1ad49346eba2d80138a93e8cdb6ce406.tar.gz |
removed dots from menu, renamed Code to Files
-rw-r--r-- | app/views/layouts/_project_side.html.haml | 7 | ||||
-rw-r--r-- | app/views/projects/_project_head.html.haml | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/app/views/layouts/_project_side.html.haml b/app/views/layouts/_project_side.html.haml index c5206a9ec7a..efb251934f8 100644 --- a/app/views/layouts/_project_side.html.haml +++ b/app/views/layouts/_project_side.html.haml @@ -6,11 +6,8 @@ - if @project.repo_exists? = link_to "Repository", project_repository_path(@project), :class => repository_tab_class - %ul - %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 "Files", tree_project_ref_path(@project, @project.root_ref), :class => tree_tab_class + = 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 - if @project.issues_enabled diff --git a/app/views/projects/_project_head.html.haml b/app/views/projects/_project_head.html.haml index 8207d89d4b5..d55cbe1e77c 100644 --- a/app/views/projects/_project_head.html.haml +++ b/app/views/projects/_project_head.html.haml @@ -12,7 +12,7 @@ Team %li{ :class => "#{'active' if current_page?(files_project_path(@project)) }" } = link_to files_project_path(@project), :class => "files-tab tab " do - Files + Attachments %li{ :class => " #{'active' if (controller.controller_name == "snippets") }" } = link_to project_snippets_path(@project), :class => "snippets-tab tab" do Snippets |