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 <oleonard@myacpl.org> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
f00879c0f6
commit
992a0b7155
|
|
@ -206,7 +206,7 @@
|
|||
<a class="toplinks" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% loggedinusernumber | html %]">My checkouts</a>
|
||||
</li>
|
||||
[% END %]
|
||||
[% IF Koha.Preference( 'CookieConsent' ) && JSConsents.all('staffConsent').size %]
|
||||
[% IF Koha.Preference( 'CookieConsent' ) %]
|
||||
<li class="toplinks-myconsents">
|
||||
<a id="viewCookieConsents" href="#" class="toplinks">My consents</a>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue