Show actual commit count on project dashboard
This commit is contained in:
parent
fc6517f1da
commit
f34972358c
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue