Skip to content

Commit

Permalink
Feedback fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dasch committed Aug 28, 2018
1 parent 472863c commit e52df04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,9 @@ def deployed_or_running_list(stages, reference)
end
end

if label.present?
text = stage.name.html_safe
if label
text = "".html_safe
text << stage.name
content_tag(:span, text, class: "label #{label} release-stage")
end
end
Expand Down

0 comments on commit e52df04

Please sign in to comment.