Commit a671952f authored by Alex Ankudinov's avatar Alex Ankudinov

Change bool_formatter() to be backward compatible with bootstrap2

parent abca2581
...@@ -30,7 +30,7 @@ def bool_formatter(view, value): ...@@ -30,7 +30,7 @@ def bool_formatter(view, value):
Value to check Value to check
""" """
glyph = 'ok-circle' if value else 'minus-sign' glyph = 'ok-circle' if value else 'minus-sign'
return Markup('<span class="glyphicon glyphicon-%s"></span>' % glyph) return Markup('<span class="glyphicon glyphicon-%s icon-%s"></span>' % (glyph, glyph))
def list_formatter(view, values): def list_formatter(view, values):
......
Markdown is supported
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