mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-07-13 01:44:13 +00:00
notification ui: add appropriate onlineHelp anchors
This links the dialog windows to the correct help section (different target types, matchers). Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
edd98f946b
commit
c972de233a
@ -2,6 +2,7 @@ Ext.define('Proxmox.panel.GotifyEditPanel', {
|
|||||||
extend: 'Proxmox.panel.InputPanel',
|
extend: 'Proxmox.panel.InputPanel',
|
||||||
xtype: 'pmxGotifyEditPanel',
|
xtype: 'pmxGotifyEditPanel',
|
||||||
mixins: ['Proxmox.Mixin.CBind'],
|
mixins: ['Proxmox.Mixin.CBind'],
|
||||||
|
onlineHelp: 'notification_targets_gotify',
|
||||||
|
|
||||||
type: 'gotify',
|
type: 'gotify',
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@ Ext.define('Proxmox.panel.NotificationConfigView', {
|
|||||||
extend: 'Ext.panel.Panel',
|
extend: 'Ext.panel.Panel',
|
||||||
alias: 'widget.pmxNotificationConfigView',
|
alias: 'widget.pmxNotificationConfigView',
|
||||||
mixins: ['Proxmox.Mixin.CBind'],
|
mixins: ['Proxmox.Mixin.CBind'],
|
||||||
|
onlineHelp: 'chapter_notifications',
|
||||||
layout: {
|
layout: {
|
||||||
type: 'border',
|
type: 'border',
|
||||||
},
|
},
|
||||||
|
@ -4,6 +4,7 @@ Ext.define('Proxmox.panel.SendmailEditPanel', {
|
|||||||
mixins: ['Proxmox.Mixin.CBind'],
|
mixins: ['Proxmox.Mixin.CBind'],
|
||||||
|
|
||||||
type: 'sendmail',
|
type: 'sendmail',
|
||||||
|
onlineHelp: 'notification_targets_sendmail',
|
||||||
|
|
||||||
mailValidator: function() {
|
mailValidator: function() {
|
||||||
let mailto_user = this.down(`[name=mailto-user]`);
|
let mailto_user = this.down(`[name=mailto-user]`);
|
||||||
|
@ -2,6 +2,7 @@ Ext.define('Proxmox.panel.SmtpEditPanel', {
|
|||||||
extend: 'Proxmox.panel.InputPanel',
|
extend: 'Proxmox.panel.InputPanel',
|
||||||
xtype: 'pmxSmtpEditPanel',
|
xtype: 'pmxSmtpEditPanel',
|
||||||
mixins: ['Proxmox.Mixin.CBind'],
|
mixins: ['Proxmox.Mixin.CBind'],
|
||||||
|
onlineHelp: 'notification_targets_smtp',
|
||||||
|
|
||||||
type: 'smtp',
|
type: 'smtp',
|
||||||
|
|
||||||
|
@ -73,6 +73,7 @@ Ext.define('Proxmox.window.NotificationMatcherEdit', {
|
|||||||
extend: 'Proxmox.window.Edit',
|
extend: 'Proxmox.window.Edit',
|
||||||
|
|
||||||
isAdd: true,
|
isAdd: true,
|
||||||
|
onlineHelp: 'notification_matchers',
|
||||||
|
|
||||||
fieldDefaults: {
|
fieldDefaults: {
|
||||||
labelWidth: 120,
|
labelWidth: 120,
|
||||||
|
Loading…
Reference in New Issue
Block a user