From 40f381e6527f6eac3f4ccbbd7cfde690f2b40be8 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 14 May 2015 18:32:07 +0300 Subject: append empty space only if count exists --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1