summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Tang <750946-dennis@users.noreply.gitlab.com>2018-11-30 15:26:19 +0000
committerDennis Tang <750946-dennis@users.noreply.gitlab.com>2018-11-30 15:26:19 +0000
commit030a4033d2ff1062ae0361890981f1ea2c0b8a66 (patch)
tree45a66c7c8009fad8346c178254ca718c404ed326
parent7ee5f1868c61bacf049eb5c8df29a9a2ea3796f7 (diff)
downloadgitlab-ce-51243-further-improvements-to-project-overview-ui.tar.gz
Remove trailing whitespaces in button labels51243-further-improvements-to-project-overview-ui
-rw-r--r--app/presenters/project_presenter.rb4
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