From 33d25fff7b23e6795c5afb9debec5c6ba04dcfb8 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 Content-Type: text/plain; charset=utf-8 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 Signed-off-by: Marcel de Rooy --- 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 b08087fccf..783271b18d 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