From 4029362c2e48464c961385dbe3ca237323d7dead Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Mon, 27 Mar 2017 15:19:24 +0200 Subject: [PATCH] Bug 17993 - Do not use modal authentication with CAS - tags bis Bug 12046 corrected the fact that modal dialog does not allow to use the CAS authentication in main authentication link. This must also be corrected in link for tags in detail tags page: "Log in to see your own saved tags." Test plan : - Enable syspref casAuthentication - Go to OPAC, not authenticated - Click on "Tag cloud" - Click on "Log in to see your own saved tags" => Without patch you get the modal login popup => With patch you go to the login page opac-user.pl Signed-off-by: Owen Leonard Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall (cherry picked from commit f71e3a78b9ad35e7839271de80d89c9044c268c6) Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt index 052acd6d3f..5231a6cbd1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-tags.tt @@ -87,7 +87,14 @@ [% IF Koha.Preference( 'opacuserlogin' ) == 1 %] [% UNLESS ( loggedinusername ) %] -

Log in to see your own saved tags.

+

+ [% IF Koha.Preference('casAuthentication') %] + [%# CAS authentication is too complicated for modal window %] + Log in to see your own saved tags. + [% ELSE %] + Log in to see your own saved tags. + [% END %] +

[% END %] [% END %] -- 2.39.5