From 2a00393712eb490b23604399ea8318b3b4cca118 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Thu, 5 Jan 2012 09:10:11 -0600 Subject: Added account status into user search facet. The user search facet has been modified to show the account status. The IPA.boolean_format has been converted into a class to allow behavior customization. Ticket #1996 --- install/ui/user.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'install/ui/user.js') diff --git a/install/ui/user.js b/install/ui/user.js index 879055ed..01d196ce 100644 --- a/install/ui/user.js +++ b/install/ui/user.js @@ -40,6 +40,15 @@ IPA.user.entity = function(spec) { 'uid', 'givenname', 'sn', + { + name: 'nsaccountlock', + format: IPA.boolean_format({ + true_value: IPA.messages.objects.user.active, + false_value: IPA.messages.objects.user.inactive, + invert_value: true + }), + label: IPA.messages.objects.user.account_status + }, 'uidnumber', 'mail', 'telephonenumber', -- cgit