From 4bd85ceb90d6b8639c14e68691f2c9f447980c2d Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 13 Jul 2011 21:10:47 -0500 Subject: 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 --- install/ui/host.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui/host.js') diff --git a/install/ui/host.js b/install/ui/host.js index fe9eabf0..704783ee 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']; -- cgit