]> git.koha-community.org Git - koha.git/commit
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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 26 Jul 2021 09:07:13 +0000 (11:07 +0200)
commit66b6b284daeb7d6d2a8e624499ee4910c6fb8147
tree0085d70bc132c87eab8ac7f84c37feecd4369b77
parent3d1889d82d8ac8ab03ff96586a19b45f513db67a
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>
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc