Commit f34972358c235a3bdd6b688a8303acd9f888d33f
1 parent
fc6517f1
Exists in
spb-stable
and in
3 other branches
Show actual commit count on project dashboard
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
app/views/projects/_home_panel.html.haml
@@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
25 | - unless empty_repo | 25 | - unless empty_repo |
26 | .col-md-4 | 26 | .col-md-4 |
27 | .project-home-links | 27 | .project-home-links |
28 | - = link_to pluralize(@repository.round_commit_count, 'commit'), project_commits_path(@project, @ref || @repository.root_ref) | ||
29 | - = link_to pluralize(@repository.branch_names.count, 'branch'), project_branches_path(@project) | ||
30 | - = link_to pluralize(@repository.tag_names.count, 'tag'), project_tags_path(@project) | 28 | + = link_to pluralize(number_with_delimiter(@repository.commit_count), 'commit'), project_commits_path(@project, @ref || @repository.root_ref) |
29 | + = link_to pluralize(number_with_delimiter(@repository.branch_names.count), 'branch'), project_branches_path(@project) | ||
30 | + = link_to pluralize(number_with_delimiter(@repository.tag_names.count), 'tag'), project_tags_path(@project) | ||
31 | %span.light.prepend-left-20= repository_size | 31 | %span.light.prepend-left-20= repository_size |