]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: resource map tree: make 'ok' status clearer
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 21 Jun 2023 07:41:38 +0000 (09:41 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jun 2023 08:03:52 +0000 (10:03 +0200)
by changing into 'mapping matches host data' which indicates that the
configured values matches the host information

also for the pci and usb map selectors

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/form/PCIMapSelector.js
www/manager6/form/USBMapSelector.js
www/manager6/tree/ResourceMapTree.js

index 4dca62ea3e6b343d6cb170f1e1e192d3dfb425d5..1bc73ec05c8f873ea46450d314b2ed298fb6f7b3 100644 (file)
@@ -48,7 +48,7 @@ Ext.define('PVE.form.PCIMapSelector', {
                    let me = this;
 
                    if (!Ext.isArray(value) || !value?.length) {
-                       return `<i class="fa fa-check-circle good"></i> ${gettext('Mapping OK')}`;
+                       return `<i class="fa fa-check-circle good"></i> ${gettext('Mapping matches host data')}`;
                    }
 
                    let checks = [];
index 990ef30fa106ce51b771d160de8dce2bffb216c6..6a33754acf4f73a69e3b8ad720eff30af99f2926 100644 (file)
@@ -34,7 +34,7 @@ Ext.define('PVE.form.USBMapSelector', {
                    let me = this;
 
                    if (!Ext.isArray(value) || !value?.length) {
-                       return `<i class="fa fa-check-circle good"></i> ${gettext('Mapping OK')}`;
+                       return `<i class="fa fa-check-circle good"></i> ${gettext('Mapping matches host data')}`;
                    }
 
                    let errors = [];
index df50b63afafd2ab9373d4b6358f30790da2fd07b..027170422d61957d30150526c47f94409df5a42a 100644 (file)
@@ -228,7 +228,7 @@ Ext.define('PVE.tree.ResourceMapTree', {
            } else {
                let state = value ? 'good' : 'critical';
                iconCls = PVE.Utils.get_health_icon(state, true);
-               status = value ? gettext("OK") : record.data.errmsg || Proxmox.Utils.unknownText;
+               status = value ? gettext("Mapping matches host data") : record.data.errmsg || Proxmox.Utils.unknownText;
            }
            return `<i class="fa ${iconCls}"></i> ${status}`;
        },