diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-01-18 21:54:41 -0600 |
---|---|---|
committer | Petr VobornÃk <pvoborni@redhat.com> | 2012-01-23 15:38:41 +0100 |
commit | b353239e59a8eb32fb1ac66e29228dc95b74e4e6 (patch) | |
tree | 09093bfd4ae3a5954c680998000635c15165c91f /install/ui/hbactest.js | |
parent | fef343ae8f501aa67d4c746d9c7103d797fd6be2 (diff) | |
download | freeipa-b353239e59a8eb32fb1ac66e29228dc95b74e4e6.tar.gz freeipa-b353239e59a8eb32fb1ac66e29228dc95b74e4e6.tar.xz freeipa-b353239e59a8eb32fb1ac66e29228dc95b74e4e6.zip |
Fixed inconsistent status labels.
This patch modifies the status attributes in users, DNS zones,
HBAC/sudo rules, HBAC test, and SELinux User Map to use the same
label (i.e. Status) and values (i.e. Enabled/Disabled). The method
to change the status will be modified separately.
Ticket #2247
Diffstat (limited to 'install/ui/hbactest.js')
-rw-r--r-- | install/ui/hbactest.js | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/install/ui/hbactest.js b/install/ui/hbactest.js index b529a1d5..e9b02a14 100644 --- a/install/ui/hbactest.js +++ b/install/ui/hbactest.js @@ -50,13 +50,10 @@ IPA.hbac.test_entity = function(spec) { 'sn', { name: 'nsaccountlock', - format: IPA.boolean_format({ - true_value: IPA.messages.objects.user.active, - false_value: IPA.messages.objects.user.inactive, - invert_value: true, - show_false: true - }), - label: IPA.messages.objects.user.account_status + label: IPA.messages.status.label, + format: IPA.boolean_status_format({ + invert_value: true + }) } ] }). @@ -118,9 +115,8 @@ IPA.hbac.test_entity = function(spec) { 'cn', { name: 'ipaenabledflag', - format: IPA.boolean_format({ - show_false: true - }) + label: IPA.messages.status.label, + format: IPA.boolean_status_format() }, 'description' ] @@ -142,9 +138,8 @@ IPA.hbac.test_entity = function(spec) { }, { name: 'ipaenabledflag', - format: IPA.boolean_format({ - show_false: true - }) + label: IPA.messages.status.label, + format: IPA.boolean_status_format() }, 'description' ] |