Bugzilla – Attachment 131546 Details for
Bug 30265
Hide 'Log into your account' in OPAC authentication page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30265 - Hide 'Log into your account' in OPAC authentication page
Bug-30265---Hide-Log-into-your-account-in-OPAC-aut.patch (text/plain), 2.24 KB, created by
Biblibre Sandboxes
on 2022-03-10 12:15:51 UTC
(
hide
)
Description:
Bug 30265 - Hide 'Log into your account' in OPAC authentication page
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2022-03-10 12:15:51 UTC
Size:
2.24 KB
patch
obsolete
>From 297599c277be93e0d57c612d7d0311a92f2330a5 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 9 Mar 2022 19:19:22 -1000 >Subject: [PATCH] Bug 30265 - Hide 'Log into your account' in OPAC > authentication page > >If not logged in, in OPAC header there is link 'Log into your account'. >Using it shows a popup with authentication form. > >In authentication page /cgi-bin/koha/opac-user.pl this double authentication form feels not ergonomic. It may lead to misunderstanding. > >We can simply hide this link in this special page. > >Test plan : >1) Go to OPAC not logged in >2) Go to main page => You see link 'Log into your account' >3) Go to /cgi-bin/koha/opac-user.pl => You don't see 'Log into your account' >4) Authenticate >5) You are still in /cgi-bin/koha/opac-user.pl => You see link 'Welcome, XXX' >6) Go to main page => You see link 'Welcome, XXX' > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index 33f0e487a1..c5343811b6 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -95,7 +95,7 @@ > <span class="userlabel">Welcome, [% INCLUDE 'patron-title.inc' patron = logged_in_user no_html = 1 %]</span> > </a> > <a tabindex="-1" role="menuitem" class="logout js-hide" href="/cgi-bin/koha/opac-main.pl?logout.x=1"><i class="fa fa-fw fa-sign-out" aria-hidden="true"></i> Log out</a> >- [% ELSE %] >+ [% ELSIF ( script_name != '/cgi-bin/koha/opac-user.pl' ) %] > [% IF Koha.Preference('casAuthentication') %] > [%# CAS authentication is too complicated for modal window %] > <a class="nav-link login-link" href="/cgi-bin/koha/opac-user.pl"><i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> <span class="userlabel">Log in to your account</span></a> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30265
:
131536
|
131537
|
131545
| 131546