From d1a0b5db9fda0f2db3df9c4039bad03e82a97442 Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Tue, 11 Jul 2023 16:37:09 +0000 Subject: [PATCH] Bug 27378: (QA follow-up) Allow staff to view their cookie consents This patch allows staff to view their cookie consents through a link in the dropdown menu in the navbar. Previously staff had no way of accessing their cookie consents --- koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 8 ++++++++ koha-tmpl/intranet-tmpl/prog/js/cookieconsent.js | 2 +- 2 files changed, 9 insertions(+), 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 a63e8443c7..8f955c59d2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -3,6 +3,9 @@ [% USE Desks %] [% USE Registers %] [% USE Koha %] +[% IF Koha.Preference( 'CookieConsent' ) %] + [% USE JSConsents %] +[% END %]