apt: match "Debian Backports" origin
some users might have that enabled, and we know it is from Debian and not '?' Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
1820e77d5c
commit
8b06793b3d
@ -360,7 +360,7 @@ Ext.define('Proxmox.node.APTRepositoriesGrid', {
|
|||||||
let cls = 'fa fa-fw fa-question-circle-o';
|
let cls = 'fa fa-fw fa-question-circle-o';
|
||||||
if (value.match(/^\s*Proxmox\s*$/i)) {
|
if (value.match(/^\s*Proxmox\s*$/i)) {
|
||||||
cls = 'pmx-itype-icon pmx-itype-icon-proxmox-x';
|
cls = 'pmx-itype-icon pmx-itype-icon-proxmox-x';
|
||||||
} else if (value.match(/^\s*Debian\s*$/i)) {
|
} else if (value.match(/^\s*Debian\s*(:?Backports)?$/i)) {
|
||||||
cls = 'pmx-itype-icon pmx-itype-icon-debian-swirl';
|
cls = 'pmx-itype-icon pmx-itype-icon-debian-swirl';
|
||||||
}
|
}
|
||||||
return `<i class='${cls}'></i> ${value}`;
|
return `<i class='${cls}'></i> ${value}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user