Commit 40f381e6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

append empty space only if count exists

parent 3d4d89f0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment