]> git.proxmox.com Git - pmg-gui.git/commitdiff
mail-proxy-relaying: add help to Default Relay
authorMaximiliano Sandoval <m.sandoval@proxmox.com>
Thu, 14 Sep 2023 13:18:13 +0000 (15:18 +0200)
committerStoiko Ivanov <s.ivanov@proxmox.com>
Fri, 15 Dec 2023 15:12:24 +0000 (16:12 +0100)
Add link to [1].

[1] https://pmg.proxmox.com/pmg-docs/chapter-pmgconfig.html#pmgconfig_mailproxy_relaying

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
js/MailProxyRelaying.js

index 411c9b44a935600fd7efdc3cba8e325e0f27bd7d..8b91aef620023cb54b2a963358fefb58963bc864 100644 (file)
@@ -10,6 +10,7 @@ Ext.define('PMG.MailProxyRelaying', {
        me.add_text_row('relay', gettext('Default Relay'), {
            deleteEmpty: true,
            defaultValue: Proxmox.Utils.noneText,
+           onlineHelp: 'pmgconfig_mailproxy_relaying',
        });
 
        me.add_integer_row('relayport', gettext('Relay Port'), {
@@ -17,6 +18,7 @@ Ext.define('PMG.MailProxyRelaying', {
            deleteEmpty: true,
            minValue: 1,
            maxValue: 65535,
+           onlineHelp: 'pmgconfig_mailproxy_relaying',
        });
 
        me.add_combobox_row('relayprotocol', gettext('Relay Protocol'), {
@@ -24,10 +26,13 @@ Ext.define('PMG.MailProxyRelaying', {
            comboItems: [
            ['smtp', 'SMTP'],
            ['lmtp', 'LMTP']],
+           onlineHelp: 'pmgconfig_mailproxy_relaying',
        });
 
 
-       me.add_boolean_row('relaynomx', gettext('Disable MX lookup (SMTP)'));
+       me.add_boolean_row('relaynomx', gettext('Disable MX lookup (SMTP)'), {
+           onlineHelp: 'pmgconfig_mailproxy_relaying',
+       });
 
        me.rows.smarthost = {
            required: true,
@@ -79,6 +84,7 @@ Ext.define('PMG.MailProxyRelaying', {
                    },
                ],
            },
+           onlineHelp: 'pmgconfig_mailproxy_relaying',
        };
 
        me.rows.smarthostport = { visible: false };