From 1aa57a1b85dafa00aee48d6d6b3a5c87d75089af Mon Sep 17 00:00:00 2001
From: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Date: Thu, 14 Sep 2023 15:28:27 +0100
Subject: [PATCH] Bug 34791: Add links to HTML Customizations to CookieConsent
 preferences

This patch simply adds a note to the CookieConsent and CookieConsentedJS
system preferences to link to the HTML customizations page and hint at
which customization should be used to affect the components governed by
the preferences.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
---
 .../prog/en/modules/admin/preferences/patrons.pref              | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
index 395da97548b..c793c5b595f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
@@ -412,12 +412,14 @@ Patrons:
                1: Require
                0: "Don't require"
          - cookie consent to be displayed in the OPAC and staff interface.
+         - '<br><strong>NOTE:</strong> The cookie banner can be customised using the <a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations" target="_blank">CookieConsentBar</a> html customisation.'
      -
          - Run the following JavaScript if cookie consent is provided (e.g. tracking code).
          - pref: CookieConsentedJS
            type: modaljs
            initiator: populateCookieConsentedJS
            processor: prepareCookieConsentedJS
+         - '<br><strong>NOTE:</strong> The cookie consent modal can be customised using the <a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations" target="_blank">CookieConsentPopup</a> html customisation.'
     Security:
      -
          - Login passwords for staff and patrons must be at least
-- 
2.30.2