ui: resource map tree: make 'ok' status clearer
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>
This commit is contained in:
parent
f507ec30bb
commit
0a571cffc0
www/manager6
@ -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 = [];
|
||||
|
@ -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 = [];
|
||||
|
@ -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}`;
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user