mirror of https://github.com/snachodog/mybuddy.git
Update existing test for icon class changes
This commit is contained in:
parent
2c029d3579
commit
8fd9680284
|
@ -16,5 +16,5 @@ def bool_icon(value):
|
||||||
classes = 'icon-true text-success'
|
classes = 'icon-true text-success'
|
||||||
else:
|
else:
|
||||||
classes = 'icon-false text-danger'
|
classes = 'icon-false text-danger'
|
||||||
icon_html = '<i class="icon {}" aria-hidden="true"></i>'.format(classes)
|
icon_html = '<i class="{}" aria-hidden="true"></i>'.format(classes)
|
||||||
return mark_safe(icon_html)
|
return mark_safe(icon_html)
|
||||||
|
|
Loading…
Reference in New Issue