From 34e813c8d053382313a804c8b2682f138f166926 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 25 Jan 2017 14:47:02 +0100 Subject: [PATCH] Bug 17993 - Do not use modal authentication with CAS - tags 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 page : "Log in to add tags" Test plan : - Enable syspref casAuthentication - Go to OPAC - Go to a record detail page opac-detail.pl - Click on "Log in to add tags" => Without patch you get the modal login popup => With patch you go to the login page opac-user.pl Signed-off-by: Mark Tompsett Signed-off-by: Nick Clemens Signed-off-by: Kyle M Hall --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index b5066fe3f1..1e621577b4 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -414,7 +414,14 @@ Add tag(s) [% ELSE %] - Log in to add tags. + + [% IF Koha.Preference('casAuthentication') %] + [%# CAS authentication is too complicated for modal window %] + Log in to add tags. + [% ELSE %] + Log in to add tags. + [% END %] + [% END %] [% END # / IF TagsInputEnabled %] -- 2.39.5