diff options
-rw-r--r-- | app/presenters/project_presenter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/presenters/project_presenter.rb b/app/presenters/project_presenter.rb index 08370a8e124..9bd64ea217e 100644 --- a/app/presenters/project_presenter.rb +++ b/app/presenters/project_presenter.rb @@ -162,7 +162,7 @@ class ProjectPresenter < Gitlab::View::Presenter::Delegated def commits_anchor_data AnchorData.new(true, statistic_icon('commit') + - n_('%{strong_start}%{commit_count}%{strong_end} Commit', '%{strong_start}%{commit_count}%{strong_end} Commits ', statistics.commit_count).html_safe % { + n_('%{strong_start}%{commit_count}%{strong_end} Commit', '%{strong_start}%{commit_count}%{strong_end} Commits', statistics.commit_count).html_safe % { commit_count: number_with_delimiter(statistics.commit_count), strong_start: '<strong class="project-stat-value">'.html_safe, strong_end: '</strong>'.html_safe @@ -173,7 +173,7 @@ class ProjectPresenter < Gitlab::View::Presenter::Delegated def branches_anchor_data AnchorData.new(true, statistic_icon('branch') + - n_('%{strong_start}%{branch_count}%{strong_end} Branch ', '%{strong_start}%{branch_count}%{strong_end} Branches', repository.branch_count).html_safe % { + n_('%{strong_start}%{branch_count}%{strong_end} Branch', '%{strong_start}%{branch_count}%{strong_end} Branches', repository.branch_count).html_safe % { branch_count: number_with_delimiter(repository.branch_count), strong_start: '<strong class="project-stat-value">'.html_safe, strong_end: '</strong>'.html_safe |