Skip to content

Commit 67b092f

Browse files
committed
fixed typo in the icon style name of booleans
1 parent 6facb97 commit 67b092f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xadmin/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ def admin_urlname(value, arg):
403403

404404
def boolean_icon(field_val):
405405
return mark_safe(u'<i class="%s" alt="%s"></i>' % (
406-
{True: 'fa fa-check-circle text-success', False: 'fa fa-times-circl text-error', None: 'fa fa-question-circle muted'}[field_val], field_val))
406+
{True: 'fa fa-check-circle text-success', False: 'fa fa-times-circle text-error', None: 'fa fa-question-circle muted'}[field_val], field_val))
407407

408408

409409
def display_for_field(value, field):

0 commit comments

Comments
 (0)