[pbs-devel] [PATCH proxmox-backup] ui: add onlineHelp for consent-banner option
Gabriel Goller
g.goller at proxmox.com
Tue Nov 26 11:34:22 CET 2024
Add onlineHelp link to the consent-banner docs section in the popup when
inserting the consent-banner text.
Reported-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
---
docs/gui.rst | 2 ++
www/config/NodeOptionView.js | 1 +
2 files changed, 3 insertions(+)
diff --git a/docs/gui.rst b/docs/gui.rst
index acecb8bc7193..7e59ac1024bc 100644
--- a/docs/gui.rst
+++ b/docs/gui.rst
@@ -40,6 +40,8 @@ Proxmox Backup Server supports various languages and authentication back ends
.. note:: For convenience, you can save the username on the client side, by
selecting the "Save User name" checkbox at the bottom of the window.
+.. _consent_banner:
+
Consent Banner
^^^^^^^^^^^^^^
diff --git a/www/config/NodeOptionView.js b/www/config/NodeOptionView.js
index 35938f9a3781..c327356f7f24 100644
--- a/www/config/NodeOptionView.js
+++ b/www/config/NodeOptionView.js
@@ -59,6 +59,7 @@ Ext.define('PBS.NodeOptionView', {
name: 'consent-text',
text: gettext('Consent Text'),
deleteEmpty: true,
+ onlineHelp: 'consent_banner',
},
],
});
--
2.39.5
More information about the pbs-devel
mailing list