From: Art Rhyno Date: Tue, 5 Mar 2013 20:15:10 +0000 (-0500) Subject: Use custom login form for including CAS option X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=41c89cd85d0fd6f2faf2cad42986b9ae98f28556;p=contrib%2FConifer.git 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 --- 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" %] + +
+
+
+