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
This commit is contained in:
Endi S. Dewata
2011-07-13 21:10:47 -05:00
committed by Adam Young
parent a746c613a4
commit 4bd85ceb90
33 changed files with 333 additions and 87 deletions

View File

@@ -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'];