From b353239e59a8eb32fb1ac66e29228dc95b74e4e6 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Wed, 18 Jan 2012 21:54:41 -0600 Subject: 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 --- install/ui/hbactest.js | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'install/ui/hbactest.js') 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' ] -- cgit