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/selinux.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'install/ui/selinux.js') diff --git a/install/ui/selinux.js b/install/ui/selinux.js index 1ca11760..050659a6 100644 --- a/install/ui/selinux.js +++ b/install/ui/selinux.js @@ -42,9 +42,8 @@ IPA.selinux.selinuxusermap_entity = function(spec) { 'ipaselinuxuser', { name: 'ipaenabledflag', - format: IPA.boolean_format({ - show_false: true - }) + label: IPA.messages.status.label, + format: IPA.boolean_status_format() }, 'description' ] @@ -96,6 +95,7 @@ IPA.selinux_details_facet = function(spec) { { type: 'enable', name: 'ipaenabledflag', + label: IPA.messages.status.label, priority: IPA.selinux.enable_priority, widget: 'general.ipaenabledflag' } @@ -128,8 +128,8 @@ IPA.selinux_details_facet = function(spec) { type: 'enable', name: 'ipaenabledflag', options: [ - { value: 'TRUE', label: IPA.get_message('true') }, - { value: 'FALSE', label: IPA.get_message('false') } + { value: 'TRUE', label: IPA.messages.status.enabled }, + { value: 'FALSE', label: IPA.messages.status.disabled } ] } ] -- cgit