diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-01-05 09:10:11 -0600 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2012-01-06 15:25:43 +0100 |
commit | 2a00393712eb490b23604399ea8318b3b4cca118 (patch) | |
tree | 53af8579d526130441e018fa1e7a13de823e8b40 /install/ui/user.js | |
parent | 1b1aad2b02e57988b2e91a29305bd45f2059b91a (diff) | |
download | freeipa-2a00393712eb490b23604399ea8318b3b4cca118.tar.gz freeipa-2a00393712eb490b23604399ea8318b3b4cca118.tar.xz freeipa-2a00393712eb490b23604399ea8318b3b4cca118.zip |
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
Diffstat (limited to 'install/ui/user.js')
-rw-r--r-- | install/ui/user.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/install/ui/user.js b/install/ui/user.js index 879055edb..01d196cec 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', |