summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-14 22:11:47 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-14 22:11:47 +0300
commit6be82c5e3b65bccc5b951628de34ebe94e06fdec (patch)
tree90b6ead4c7503df3ccb96c32b04f70752b50ede6 /app
parent448e5c133a3c0b475ad28f4483d70cf65db73b76 (diff)
parent17befe2a2aa53540548c7cf547022b59e7893199 (diff)
downloadgitlab-ce-6be82c5e3b65bccc5b951628de34ebe94e06fdec.tar.gz
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/_home_panel.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml
index 48e6ea91d94..82ec68c9165 100644
--- a/app/views/projects/_home_panel.html.haml
+++ b/app/views/projects/_home_panel.html.haml
@@ -25,7 +25,7 @@
- unless empty_repo
.col-md-4
.project-home-links
- = link_to pluralize(@repository.round_commit_count, 'commit'), project_commits_path(@project, @ref || @repository.root_ref)
- = link_to pluralize(@repository.branch_names.count, 'branch'), project_branches_path(@project)
- = link_to pluralize(@repository.tag_names.count, 'tag'), project_tags_path(@project)
+ = link_to pluralize(number_with_delimiter(@repository.commit_count), 'commit'), project_commits_path(@project, @ref || @repository.root_ref)
+ = link_to pluralize(number_with_delimiter(@repository.branch_names.count), 'branch'), project_branches_path(@project)
+ = link_to pluralize(number_with_delimiter(@repository.tag_names.count), 'tag'), project_tags_path(@project)
%span.light.prepend-left-20= repository_size