Fix active and usable password column icons

This commit is contained in:
Roberto Rosario
2012-09-11 04:23:21 -04:00
parent 395b8564d4
commit 93bd4f2ff8

View File

@@ -41,11 +41,11 @@ def user_list(request):
},
{
'name': _(u'active'),
'attribute': encapsulate(lambda x: two_state_template(x.is_active)),
'attribute': encapsulate(lambda x: two_state_template(x.is_active).display_small()),
},
{
'name': _(u'has usable password?'),
'attribute': encapsulate(lambda x: two_state_template(x.has_usable_password())),
'attribute': encapsulate(lambda x: two_state_template(x.has_usable_password()).display_small()),
},
],
'multi_select_as_buttons': True,