Commit 3c91c581 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #6772 from dblessing/commit_counter

Show actual commit count on project dashboard
parents 884390de f3497235
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
- unless empty_repo - unless empty_repo
.col-md-4 .col-md-4
.project-home-links .project-home-links
= link_to pluralize(@repository.round_commit_count, 'commit'), project_commits_path(@project, @ref || @repository.root_ref) = link_to pluralize(number_with_delimiter(@repository.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(number_with_delimiter(@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.tag_names.count), 'tag'), project_tags_path(@project)
%span.light.prepend-left-20= repository_size %span.light.prepend-left-20= repository_size
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