mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
committed by
Adam Young
parent
a746c613a4
commit
4bd85ceb90
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user