From 992a0b7155dc44ad4e7f100ef8154afcc0d901f3 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 Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer --- 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.39.5