[pve-devel] [PATCH v7 pve-manager 3/3] ui: add panel for listing APT repositories

Fabian Ebner f.ebner at proxmox.com
Wed Jun 23 15:39:04 CEST 2021


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---

Dependency bump for proxmox-widget-toolkit needed.

Changes from v6:
    * remove majorUpgradeAllowed parameter (the plan is to have an API call
      returning release information and use that in proxmox-widget-toolkit)
    * Have 'Updates' be our parent in the config panel/tree.

 www/manager6/node/Config.js | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/www/manager6/node/Config.js b/www/manager6/node/Config.js
index 235a7480..0d2c690c 100644
--- a/www/manager6/node/Config.js
+++ b/www/manager6/node/Config.js
@@ -242,6 +242,15 @@ Ext.define('PVE.node.Config', {
 		    },
 		    nodename: nodename,
 		});
+
+		me.items.push({
+		    xtype: 'proxmoxNodeAPTRepositories',
+		    title: gettext('APT Repositories'),
+		    iconCls: 'fa fa-files-o',
+		    itemId: 'aptrepositories',
+		    nodename: nodename,
+		    groups: ['apt'],
+		});
 	    }
 	}
 
-- 
2.30.2






More information about the pve-devel mailing list