Commit a3ea8547 authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #545 from xelez/master

Change bool_formatter() to be backward compatible with bootstrap2
parents abca2581 a671952f
......@@ -30,7 +30,7 @@ def bool_formatter(view, value):
Value to check
"""
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):
......
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