mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 16:56:09 +00:00
fix #1295: ui: allow one to configure new notification settings
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
8432c6d351
commit
5a9848fac0
@ -91,6 +91,26 @@ 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',
|
||||
|
Loading…
Reference in New Issue
Block a user