node: repos: use warning, not critical for suite-errors if disabled
As in that case it's actually safe, so rather show as warning, albeit even info/notice like would probably be enough, but still, it is not a configuration that is wanted permanently. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
205d2751f4
commit
5a1fddb622
@ -277,8 +277,13 @@ Ext.define('Proxmox.node.APTRepositoriesGrid', {
|
||||
}
|
||||
});
|
||||
metaData.tdAttr = `data-qtip="${Ext.htmlEncode(txt.join('<br>'))}"`;
|
||||
metaData.tdCls = 'proxmox-invalid-row';
|
||||
err = '<i class="fa fa-fw critical fa-exclamation-circle"></i> ';
|
||||
if (record.data.Enabled) {
|
||||
metaData.tdCls = 'proxmox-invalid-row';
|
||||
err = '<i class="fa fa-fw critical fa-exclamation-circle"></i> ';
|
||||
} else {
|
||||
metaData.tdCls = 'proxmox-warning-row';
|
||||
err = '<i class="fa fa-fw warning fa-exclamation-circle"></i> ';
|
||||
}
|
||||
}
|
||||
return suites.join(' ') + err;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user