From: Lukas Wagner Date: Thu, 3 Aug 2023 12:17:08 +0000 (+0200) Subject: ui: add notification target configuration panel X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=e4eb04d653aaf22379de3b509c9cb3f86f8809b1;p=pve-manager.git ui: add notification target configuration panel Embed the new notification target configuration panel, implemented in proxmox-widget-toolkit. Signed-off-by: Lukas Wagner --- diff --git a/www/manager6/dc/Config.js b/www/manager6/dc/Config.js index aa025c8d..9ba7b301 100644 --- a/www/manager6/dc/Config.js +++ b/www/manager6/dc/Config.js @@ -329,6 +329,22 @@ Ext.define('PVE.dc.Config', { ); } + if (caps.mapping['Mapping.Audit'] || + caps.mapping['Mapping.Use'] || + caps.mapping['Mapping.Modify']) { + me.items.push( + { + xtype: 'pmxNotificationConfigView', + title: gettext('Notification Targets'), + onlineHelp: 'notification_targets', + itemId: 'notification-targets', + iconCls: 'fa fa-dot-circle-o', + baseUrl: '/cluster/notifications', + groups: ['notifications'], + }, + ); + } + if (caps.dc['Sys.Audit']) { me.items.push({ xtype: 'pveDcSupport',