From d92f5bf8bb476bd2c90262db9b44ac659b61ecf5 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 13 Jan 2011 10:00:38 +0700 Subject: Host details adjustments. The labels for the following fields in Host details page have been changed: - fqdn: Fully Qualified Host Name - serverhostname: Host Name The ipa_details_field_create_input() and _ipa_create_text_input() has been converted into methods in ipa_details_field class. The code has been modified to display read-only fields as labels instead of disabled text fields. The attributelevelrights in host test data files have been updated. --- install/static/host.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'install/static/host.js') diff --git a/install/static/host.js b/install/static/host.js index b6ca404a..708da868 100644 --- a/install/static/host.js +++ b/install/static/host.js @@ -129,17 +129,24 @@ function ipa_host_details_facet(spec) { }); that.add_section(section); - section.create_field({'name': 'fqdn'}); + //TODO: use i18n labels + section.create_field({ + name: 'fqdn', + label: 'Fully Qualified Host Name' + }); + section.create_field({'name': 'krbprincipalname'}); - //TODO add this to the host plugin + //TODO: add this to the host plugin + //TODO: use i18n labels section.create_field({ 'name': 'serverhostname', - 'label': 'Server Host Name' + 'label': 'Host Name' }); section.create_field({'name': 'description'}); + //TODO: use i18n labels section = ipa_details_list_section({ 'name': 'enrollment', 'label': 'Enrollment' -- cgit