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/dns.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'install/ui/dns.js') diff --git a/install/ui/dns.js b/install/ui/dns.js index 6383d922..d23eca3a 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -43,8 +43,16 @@ IPA.dns.zone_entity = function(spec) { that.builder.facet_groups([ 'dnsrecord', 'settings' ]). search_facet({ + row_enabled_attribute: 'idnszoneactive', title: IPA.metadata.objects.dnszone.label, - columns: [ 'idnsname' ] + columns: [ + 'idnsname', + { + name: 'idnszoneactive', + label: IPA.messages.status.label, + format: IPA.boolean_status_format() + } + ] }). details_facet({ factory: IPA.dnszone_details_facet, @@ -55,9 +63,10 @@ IPA.dns.zone_entity = function(spec) { { type: 'radio', name: 'idnszoneactive', + label: IPA.messages.status.label, 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 } ] }, 'idnssoamname', -- cgit