From 8b217f8277ad12da0d70f9a9d5272e230d10f989 Mon Sep 17 00:00:00 2001 From: Art Rhyno Date: Tue, 5 Mar 2013 15:15:10 -0500 Subject: [PATCH] Use custom login form for including CAS option Windsor has an option for CAS that needs to be included for "holds" and other links where authentication has not happened yet. This adds the custom form to the TPAC layout. Signed-off-by: Art Rhyno --- .../templates_windsor/opac/parts/login/form.tt2 | 153 +++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 Open-ILS/src/templates_windsor/opac/parts/login/form.tt2 diff --git a/Open-ILS/src/templates_windsor/opac/parts/login/form.tt2 b/Open-ILS/src/templates_windsor/opac/parts/login/form.tt2 new file mode 100644 index 0000000000..91f0127beb --- /dev/null +++ b/Open-ILS/src/templates_windsor/opac/parts/login/form.tt2 @@ -0,0 +1,153 @@ + + +[% IF ctx.login_failed_event %] +
+[% + IF ctx.login_failed_event.textcode == 'PATRON_CARD_INACTIVE'; + l("The barcode used to login is marked as inactive. Please contact your local library."); + ELSIF ctx.login_failed_event.textcode == 'PATRON_INACTIVE'; + l("This account has been deactivated. Please contact your local library."); + ELSE; + l("Login failed. The username or password provided was not valid. + Ensure Caps-Lock is off and try again or contact your local library."); + END; +%] +
+[% END %] + +
+
+
+ + + + + [% INCLUDE "opac/parts/login/help.tt2" %] + +
+
+
+
-- 2.11.0