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/hbac.js | |
parent | fef343ae8f501aa67d4c746d9c7103d797fd6be2 (diff) | |
download | freeipa.git-b353239e59a8eb32fb1ac66e29228dc95b74e4e6.tar.gz freeipa.git-b353239e59a8eb32fb1ac66e29228dc95b74e4e6.tar.xz freeipa.git-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/hbac.js')
-rw-r--r-- | install/ui/hbac.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/install/ui/hbac.js b/install/ui/hbac.js index 5d6de15d..bff2af30 100644 --- a/install/ui/hbac.js +++ b/install/ui/hbac.js @@ -43,9 +43,8 @@ IPA.hbac.rule_entity = function(spec) { 'cn', { name: 'ipaenabledflag', - format: IPA.boolean_format({ - show_false: true - }) + label: IPA.messages.status.label, + format: IPA.boolean_status_format() }, 'description' ] @@ -208,6 +207,7 @@ IPA.hbacrule_details_facet = function(spec) { { type: 'enable', name: 'ipaenabledflag', + label: IPA.messages.status.label, priority: IPA.hbac.enable_priority, widget: 'general.ipaenabledflag' } @@ -230,8 +230,8 @@ IPA.hbacrule_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 } ] } ] |