diff options
-rw-r--r-- | app/views/projects/show.html.haml | 6 |
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 |