[pve-devel] [PATCH v4 pve-manager 63/69] ui: dc: remove notify key from datacenter option view

Lukas Wagner l.wagner at proxmox.com
Thu Jul 20 16:32:30 CEST 2023


Settings for notifications have been moved to their own view.

Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---

Notes:
    Changes since v3:
      - New in v4

 www/manager6/dc/OptionView.js | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/www/manager6/dc/OptionView.js b/www/manager6/dc/OptionView.js
index 8b7aca32..4717277f 100644
--- a/www/manager6/dc/OptionView.js
+++ b/www/manager6/dc/OptionView.js
@@ -91,26 +91,6 @@ Ext.define('PVE.dc.OptionView', {
 	    vtype: 'proxmoxMail',
 	    defaultValue: 'root@$hostname',
 	});
-	me.add_inputpanel_row('notify', gettext('Notify'), {
-	    renderer: v => !v ? 'package-updates=auto' : PVE.Parser.printPropertyString(v),
-	    labelWidth: 120,
-	    url: "/api2/extjs/cluster/options",
-	    //onlineHelp: 'ha_manager_shutdown_policy',
-	    items: [{
-		xtype: 'proxmoxKVComboBox',
-		name: 'package-updates',
-		fieldLabel: gettext('Package Updates'),
-		deleteEmpty: false,
-		value: '__default__',
-		comboItems: [
-		    ['__default__', Proxmox.Utils.defaultText + ' (auto)'],
-		    ['auto', gettext('Automatically')],
-		    ['always', gettext('Always')],
-		    ['never', gettext('Never')],
-		],
-		defaultValue: '__default__',
-	    }],
-	});
 	me.add_text_row('mac_prefix', gettext('MAC address prefix'), {
 	    deleteEmpty: true,
 	    vtype: 'MacPrefix',
-- 
2.39.2






More information about the pve-devel mailing list