Commit f86df73c1ad49346eba2d80138a93e8cdb6ce406
1 parent
4d89322d
Exists in
master
and in
4 other branches
removed dots from menu, renamed Code to Files
Showing
2 changed files
with
3 additions
and
6 deletions
Show diff stats
app/views/layouts/_project_side.html.haml
@@ -6,11 +6,8 @@ | @@ -6,11 +6,8 @@ | ||
6 | 6 | ||
7 | - if @project.repo_exists? | 7 | - if @project.repo_exists? |
8 | = link_to "Repository", project_repository_path(@project), :class => repository_tab_class | 8 | = link_to "Repository", project_repository_path(@project), :class => repository_tab_class |
9 | - %ul | ||
10 | - %li | ||
11 | - = link_to "Code", tree_project_ref_path(@project, @project.root_ref), :class => tree_tab_class | ||
12 | - %li | ||
13 | - = link_to "Commits", project_commits_path(@project), :class => (controller.controller_name == "commits") ? "current" : nil | 9 | + = link_to "Files", tree_project_ref_path(@project, @project.root_ref), :class => tree_tab_class |
10 | + = link_to "Commits", project_commits_path(@project), :class => (controller.controller_name == "commits") ? "current" : nil | ||
14 | 11 | ||
15 | = link_to "Network", graph_project_path(@project), :class => current_page?(:controller => "projects", :action => "graph", :id => @project) ? "current" : nil | 12 | = link_to "Network", graph_project_path(@project), :class => current_page?(:controller => "projects", :action => "graph", :id => @project) ? "current" : nil |
16 | - if @project.issues_enabled | 13 | - if @project.issues_enabled |
app/views/projects/_project_head.html.haml
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | Team | 12 | Team |
13 | %li{ :class => "#{'active' if current_page?(files_project_path(@project)) }" } | 13 | %li{ :class => "#{'active' if current_page?(files_project_path(@project)) }" } |
14 | = link_to files_project_path(@project), :class => "files-tab tab " do | 14 | = link_to files_project_path(@project), :class => "files-tab tab " do |
15 | - Files | 15 | + Attachments |
16 | %li{ :class => " #{'active' if (controller.controller_name == "snippets") }" } | 16 | %li{ :class => " #{'active' if (controller.controller_name == "snippets") }" } |
17 | = link_to project_snippets_path(@project), :class => "snippets-tab tab" do | 17 | = link_to project_snippets_path(@project), :class => "snippets-tab tab" do |
18 | Snippets | 18 | Snippets |