From acce8b9d6e5015aa9dfe43efe566a6e9e0e4205f Mon Sep 17 00:00:00 2001 From: Ella Wipatene Date: Wed, 20 Jan 2021 01:56:53 +0000 Subject: [PATCH] Bug 27476: Improve link text for logging in on OPAC (Note: Must have Shibboleth and CAS added to OPAC) 1. (Before downloading patch) Go to OPAC 2. Search for an item in the search bar (i.e. type 'a') 3. On one of the items, click on 'Place hold' 4. The links should say 'If you have a Shibboleth account, please click here to log in', 'Please click here to log in' and 'If you have a CAS account, please click here to log in' 5. Add patch 6. Repeat steps 1-3 7. The links should now say 'Log in for Shibboleth account', 'Log in' and 'Log in for CAS account' NOTE: Also noticed on the initial log in box there was the same issue - here is the testing for that: 1. Go to OPAC home page 2. In the top right click 'Log in to your account' 3. The link should say 'If you have a Shibboleth account, please click here to log in.' 4. Apply patch 5. Repeat steps 1&2 6. The link should now say 'Log in for a Shibboleth account' Sponsored.by: Catalyst IT --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index 85cbb9a4b0..dd2502ce5f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -378,7 +378,7 @@ [% ELSE %]

Shibboleth login

-

If you have a Shibboleth account, please click here to login.

+

Log in for a Shibboleth account.

Local Login

[% END %] [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt index 7644b8bc97..059ac5fcfa 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt @@ -92,7 +92,7 @@ [% ELSE %]

Shibboleth Login

-

If you have a Shibboleth account, please click here to log in.

+

Log in for Shibboleth account.

[% END # /IF invalidShibLogin %] [% IF ( casAuthentication ) %]

CAS login

@@ -106,7 +106,7 @@ [% IF ( casAuthentication ) %] [% IF ( shibbolethAuthentication ) %] [% IF ( casServerUrl ) %] -

Please click here to log in.

+

Log in.

[% END %] [% IF ( casServersLoop ) %] @@ -126,7 +126,7 @@ [% END %] [% IF ( casServerUrl ) %] -

If you have a CAS account, please click here to log in.

+

Log in for CAS account.

[% END %] [% IF ( casServersLoop ) %] -- 2.11.0