https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39035

--- Comment #1 from William Lavoie <[email protected]> ---
Created attachment 177557
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177557&action=edit
Bug 39035: CookieConsentBar message prints on slip when cookies aren’t accepted

I added a print media query in moremember-print.tt to avoid displaying
the cookies when printing a slip.

Before testing, make sure:

    - set the CookieConsent system preference to enable
    - set a CookieConsentBar message (configured in HTML personnalisations >
Additional content > CookieConsentBar)

Test plan:

1. Open a different web browser that hasn’t accepted Koha’s cookies yet.
2. Log into the staff interface (do not accept cookies yet).
3. Find a patron account.
4. Click on "Print" and choose any slip.
5. Check the printed slip.
 ---> Koha is printing the CookieConsentBar message at the bottom, which
shouldn’t be there.
6. Now, accept the cookies at the bottom of the screen.
7. Print another slip.
8. Check the new slip.
---> This time, the CookieConsentBar message is gone (as expected).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to