summaryrefslogtreecommitdiff
path: root/app/views/projects/show.html.haml
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-05-19 15:56:29 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-05-19 16:28:03 -0500
commit3c8d209e16c606c5122d5aee455d051e65c6dab0 (patch)
tree7b90bb1d41138a516b84f7999fdd98110805eb2c /app/views/projects/show.html.haml
parent5436bfa82230f7ba4532a2b09d035cfc733e8657 (diff)
downloadgitlab-ce-3c8d209e16c606c5122d5aee455d051e65c6dab0.tar.gz
Redesign sublevel nav links; vertically align project image; fix spacing
Diffstat (limited to 'app/views/projects/show.html.haml')
-rw-r--r--app/views/projects/show.html.haml9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index 61f739ad1d4..59a9519ca11 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -17,17 +17,16 @@
%ul.nav
%li
= link_to namespace_project_commits_path(@project.namespace, @project, current_ref) do
- = pluralize(number_with_delimiter(@project.commit_count), 'commit')
+ #{'Commit'.pluralize(@project.commit_count)} (#{number_with_delimiter(@project.commit_count)})
%li
= link_to namespace_project_branches_path(@project.namespace, @project) do
- = pluralize(number_with_delimiter(@repository.branch_names.count), 'branch')
+ #{'Branch'.pluralize(@repository.branch_names.count)} (#{number_with_delimiter(@repository.branch_names.count)})
%li
= link_to namespace_project_tags_path(@project.namespace, @project) do
- = pluralize(number_with_delimiter(@repository.tag_names.count), 'tag')
-
+ #{'Tag'.pluralize(@repository.tag_names.count)} (#{number_with_delimiter(@repository.tag_names.count)})
%li
= link_to project_files_path(@project) do
- = repository_size
+ Files (#{repository_size})
- if default_project_view != 'readme' && @repository.readme
%li