mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-09 12:50:21 +00:00
node: repos: render Origin logo for Debian & Proxmox
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
21860ea45c
commit
036f48c14d
@ -300,7 +300,16 @@ Ext.define('Proxmox.node.APTRepositoriesGrid', {
|
||||
{
|
||||
header: gettext('Origin'),
|
||||
dataIndex: 'Origin',
|
||||
width: 100,
|
||||
width: 120,
|
||||
renderer: (value, meta, rec) => {
|
||||
let cls = 'fa fa-fw fa-question-circle-o';
|
||||
if (value.match(/^\s*Proxmox\s*$/i)) {
|
||||
cls = 'pmx-itype-icon pmx-itype-icon-proxmox-x';
|
||||
} else if (value.match(/^\s*Debian\s*$/i)) {
|
||||
cls = 'pmx-itype-icon pmx-itype-icon-debian-swirl';
|
||||
}
|
||||
return `<i class='${cls}'></i> ${value}`;
|
||||
},
|
||||
},
|
||||
{
|
||||
header: gettext('Comment'),
|
||||
|
Loading…
Reference in New Issue
Block a user