From 80c9afae4eabb9e14dd7a6f5f023e4786bd2c553 Mon Sep 17 00:00:00 2001 From: Gabriel Goller Date: Tue, 26 Nov 2024 11:34:22 +0100 Subject: [PATCH] ui: add onlineHelp for consent-banner option Add onlineHelp link to the consent-banner docs section in the popup when inserting the consent-banner text. Reported-by: Thomas Lamprecht Signed-off-by: Gabriel Goller --- 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 acecb8bc..7e59ac10 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 35938f9a..c327356f 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', }, ], });