Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/helpers/application_helper.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 3d4588a3b5d..ea9722b9bef 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -331,11 +331,10 @@ module ApplicationHelper
project.merge_requests.send(entity).count
end
- html = ""
- html += content_tag :span, entity_title
+ html = content_tag :span, entity_title
if count.present?
- html += " "
+ html += " "
html += content_tag :span, number_with_delimiter(count), class: 'badge'
end