diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-05-14 18:32:07 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-05-14 18:32:07 +0300 |
commit | 40f381e6527f6eac3f4ccbbd7cfde690f2b40be8 (patch) | |
tree | a4e686e9a66a64162f6ee9c5bbc4b52bc49528a4 /app/helpers/application_helper.rb | |
parent | 3d4d89f060f01b7993ef8e1839744c81b53293bf (diff) | |
download | gitlab-ce-40f381e6527f6eac3f4ccbbd7cfde690f2b40be8.tar.gz |
append empty space only if count exists
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 26bb3c66fd6..3d4588a3b5d 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -333,9 +333,9 @@ module ApplicationHelper html = "" html += content_tag :span, entity_title - html += " " if count.present? + html += " " html += content_tag :span, number_with_delimiter(count), class: 'badge' end |