diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-07-13 21:10:47 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-07-14 11:44:48 -0400 |
commit | 4bd85ceb90d6b8639c14e68691f2c9f447980c2d (patch) | |
tree | 0d114ff0faea534d6f3e2b81e35d25196ef5f2e7 /install/ui/host.js | |
parent | a746c613a4fb3d0eed5c73455ebb2e674ed7793d (diff) | |
download | freeipa-4bd85ceb90d6b8639c14e68691f2c9f447980c2d.tar.gz freeipa-4bd85ceb90d6b8639c14e68691f2c9f447980c2d.tar.xz freeipa-4bd85ceb90d6b8639c14e68691f2c9f447980c2d.zip |
Fixed label capitalization
The CSS text-transform sometimes produces incorrect capitalization,
so the code has been modified to use translated labels that already
contain the correct capitalization.
Ticket #1424
Diffstat (limited to 'install/ui/host.js')
-rw-r--r-- | install/ui/host.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/host.js b/install/ui/host.js index fe9eabf0b..704783eec 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -285,7 +285,7 @@ IPA.host_provisioning_status_widget = function (spec) { that.show_unprovision_dialog = function() { - var label = IPA.metadata.objects[that.entity_name].label; + var label = IPA.metadata.objects[that.entity_name].label_singular; var title = IPA.messages.objects.host.unprovision_title; title = title.replace('${entity}', label); @@ -378,7 +378,7 @@ IPA.host_certificate_status_widget = function (spec) { that.init = function() { - that.entity_label = IPA.metadata.objects[that.entity_name].label; + that.entity_label = IPA.metadata.objects[that.entity_name].label_singular; that.get_entity_pkey = function(result) { var values = result['fqdn']; |