From a76c66440b0e239569d6998ea74cea7d97c5c7e4 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.
---
 .../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 0adb1ae1d7..221b6ac27d 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
@@ -394,12 +394,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.41.0