From 510b5c5f396711b0bb45bad0a25da3a891583ebc Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 24 May 2016 00:41:31 +0200 Subject: Move files tab before commits tab to follow same order as top navigation Signed-off-by: Dmitriy Zaporozhets --- app/views/projects/show.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/views/projects/show.html.haml') 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 @@ -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 -- cgit v1.2.3