Verified Commit 616cc56b authored by Kaspar Vollenweider's avatar Kaspar Vollenweider 👻
Browse files

fix(navigation_and_button_helper): decomplicate class generation

parent c78f8391
Pipeline #28183 passed with stage
in 48 minutes and 12 seconds
......@@ -87,7 +87,7 @@ module NavigationAndButtonHelper
end
def icon_class(icon_type = 'arrow-left', type = :glyphicon, extra_class = nil)
"#{type} #{type}-#{icon_type}#{extra_class && " #{extra_class}"}"
"#{type} #{type}-#{icon_type} #{extra_class}"
end
def assignment_status_badge(assignment, css = 'btn-xs')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment