app/presenters/menu_link_presenter.rb in woople-theme-0.2.38 vs app/presenters/menu_link_presenter.rb in woople-theme-0.2.39
- old
+ new
@@ -19,10 +19,10 @@
end
def certification_badge
return "" if no_certification_badge?
- content_tag(:span, content_tag(:i, '', class: "cert-status-#{link.certification_badge}") + " #{link.certification_badge.titleize}", class: 'badge label-icon')
+ content_tag(:span, content_tag(:i, '', class: "cert-status #{link.certification_badge}") + " #{link.certification_badge.titleize}", class: 'badge label-icon')
end
def css_class
"active" if selected?
end