mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 21:56:19 +10:00
append empty space only if count exists
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user