[Koha-bugs] [Bug 33244] Do not show lists in OPAC if OpacPublic is disabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 21 17:33:04 CET 2023


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

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 159170
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159170&action=edit
Bug 33244: Do not show lists in OPAC if OpacPublic is disabled

This patch updates markup and CSS in the OPAC header so that the Cart
and Lists controls don't appear when OpacPublic is disabled.

The patch also moves the "Your cookies" link into the group of links
with "Log in to your account" and "Search history." This makes the
template logic a little simpler and also seems like a more logical
grouping.

To test, apply the patch and enable the CookieContent system preference.

- View the OPAC with the OpacPublic system preference enabled.
- If necessary, click the "Accept all cookies" button.
- The "Your cookies" link should now appear in the header between the
  log-in link and the search history link.
- Test the page at various browser widths to confirm that the header
  still responds well to changes.
- Go back to system preferences in the staff client and change the
  OpacPublic system preference to "disabled."
- Return to the OPAC and refresh the page. You should be redirected to
  the login page, and the Cart and Lists buttons should no longer appear
  in the header.
- The links in the header for login and cookies should look correct at
  various browser widths.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list