@@ -, +, @@
with JavaScript disabled
- 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.
---
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 3 ++-
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss
+++ a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss
@@ -38,7 +38,8 @@
.js {
.dateformat,
#sortsubmit,
- #sorting-form {
+ #sorting-form,
+ .js-hide {
display: none;
}
}
--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
@@ -93,6 +93,7 @@
Welcome, [% INCLUDE 'patron-title.inc' patron = logged_in_user no_html = 1 %]
+ Log out
[% ELSE %]
[% IF Koha.Preference('casAuthentication') %]
[%# CAS authentication is too complicated for modal window %]
--