Bug 28662: Not possible to log out of patron account in OPAC with JavaScript disabled
authorOwen Leonard <oleonard@myacpl.org>
Tue, 6 Jul 2021 13:07:42 +0000 (13:07 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 30 Jul 2021 14:31:25 +0000 (10:31 -0400)
commit10fcf80ddacb276ce37ec4d1022a38ba59f02a1b
treefa9d7c38ff5b7971a82a0ef09fda9508a99f83f7
parent2c736d3b1bf83687e83d7be0e8a3d07ce7934476
Bug 28662: Not possible to log out of patron account in OPAC with JavaScript disabled

This patch adds a "Log out" link to the OPAC header which is hidden by
CSS when JavaScript is enabled.

To test, apply the patch and rebuild the OPAC CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

 - Log in to the OPAC with JavaScript disabled in your browser.
 - In the header next to the logged-in user's name there should be a
   "Log out." link.
 - Confirm that it logs the user out.
 - Enable JavaScript and repeat the process to confirm that the new
   logout link doesn't appear.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc