Skip to content
Snippets Groups Projects
Commit ded82ed4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Small refactoring of state_filters_text_for helper

parent 40f381e6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment