Commit 510b5c5f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Move files tab before commits tab to follow same order as top navigation

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent f34a9f17
......@@ -15,6 +15,9 @@
.project-stats.row-content-block.second-block
.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)})
......@@ -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
......
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