From bf0b40f1996d2afda805279951bdf62173c0e43d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 8 Apr 2014 16:48:31 +0200 Subject: [PATCH] [PASSED QA] Bug 12046: Authentication using CAS - bootstrap At the OPAC, if the bootstrap theme is used, the modal dialog does not allow to use the CAS authentication. A link should be displayed, as on the opac-user.pl page (and on the prog theme). Test plan: - set opacthemes to bootstrap - enable the casAuthentication pref - fill the casServerUrl pref with "something" - go on the opac home page - click on the "log in" link (top right) - you should see 2 login blocks 'CAS' and 'Local' Signed-off-by: Mark Tompsett NOTE: Without CAS properly set up, the URL will actually be empty for the CAS' click here to login link. COMMENT: Though this does do what it says it does, would it no be better to redirect to the opac-user page and get the old page loaded up as before, so not just CAS but all potential authentication mechanisms will work? Increasing the size of the modal seems to defeat the purpose of the modal, in my opinion. Signed-off-by: Katrin Fischer Passes all tests and QA script. Works as described. --- .../opac-tmpl/bootstrap/en/includes/masthead.inc | 25 +++++++++++++++++++++- 1 file changed, 24 insertions(+), 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 1edc244..86f8311 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -270,8 +270,31 @@

Log in to your account

+ [% IF Koha.Preference('casAuthentication') %] + + [% END # / IF casAuthentication %]
- \ No newline at end of file + -- 1.8.3.2