From 959f0ee938acd3ee48e6df5465e14dc33a153bbe Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 17 Nov 2023 11:08:08 +0000 Subject: [PATCH] Bug 35348: Ensure users can access cookie details in staff client We remove the check on JSConsents content so that when cookie consent is enabled we retain the option for users to get more information about what cookies are being used. Test plan 1) Enable CookieConsents 2) Do not add any tracking cookies for the staff client into CookieConsentedJS preference 3) Note that 'My consents' appears in the user menu 4) Clicking 'My consents' opens the 'Cookie consent' modal displaying information about the cookies used. Signed-off-by: Owen Leonard --- koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index b67f82c838..a3c8152b3e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -206,7 +206,7 @@ My checkouts [% END %] - [% IF Koha.Preference( 'CookieConsent' ) && JSConsents.all('staffConsent').size %] + [% IF Koha.Preference( 'CookieConsent' ) %] -- 2.30.2