diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-01-13 10:00:38 +0700 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2011-01-13 02:14:51 -0500 |
commit | d92f5bf8bb476bd2c90262db9b44ac659b61ecf5 (patch) | |
tree | 63f5a461bd197aeef54a6b4a35c66fa003e6fd27 /install/static/host.js | |
parent | b79bf4ab1757eb08f7209f158f1f3a386ace8c96 (diff) | |
download | freeipa.git-d92f5bf8bb476bd2c90262db9b44ac659b61ecf5.tar.gz freeipa.git-d92f5bf8bb476bd2c90262db9b44ac659b61ecf5.tar.xz freeipa.git-d92f5bf8bb476bd2c90262db9b44ac659b61ecf5.zip |
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.
Diffstat (limited to 'install/static/host.js')
-rw-r--r-- | install/static/host.js | 13 |
1 files changed, 10 insertions, 3 deletions
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' |