summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-05-24 00:41:31 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-05-24 00:41:31 +0200
commit510b5c5f396711b0bb45bad0a25da3a891583ebc (patch)
tree2865c68a4fcf41949f9c895736c0051eb73af439
parentf34a9f17babdeb4aaff81dc75035d56389e67baf (diff)
downloadgitlab-ce-project-navigation-redesign.tar.gz
Move files tab before commits tab to follow same order as top navigationproject-navigation-redesign
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/views/projects/show.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index 59a9519ca11..a19c7c406a0 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -16,6 +16,9 @@
.container-fluid.container-limited
%ul.nav
%li
+ = link_to project_files_path(@project) do
+ Files (#{repository_size})
+ %li
= link_to namespace_project_commits_path(@project.namespace, @project, current_ref) do
#{'Commit'.pluralize(@project.commit_count)} (#{number_with_delimiter(@project.commit_count)})
%li
@@ -24,9 +27,6 @@
%li
= link_to namespace_project_tags_path(@project.namespace, @project) do
#{'Tag'.pluralize(@repository.tag_names.count)} (#{number_with_delimiter(@repository.tag_names.count)})
- %li
- = link_to project_files_path(@project) do
- Files (#{repository_size})
- if default_project_view != 'readme' && @repository.readme
%li