From: Dan Scott Date: Thu, 19 Nov 2015 19:01:10 +0000 (-0500) Subject: Tweak login form for Boreal X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e70b7baaeefa2e4e68bb80707c9f34de09768776;p=contrib%2FConifer.git Tweak login form for Boreal Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/templates_boreal/opac/parts/login/form.tt2 b/Open-ILS/src/templates_boreal/opac/parts/login/form.tt2 new file mode 100644 index 0000000000..8c1cdddaff --- /dev/null +++ b/Open-ILS/src/templates_boreal/opac/parts/login/form.tt2 @@ -0,0 +1,55 @@ +[% 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. " _ + "Passwords are case-sensitive. Check your Caps-Lock key and try again or contact your local library."); + END; +%] +
+[% END %] + + +[% INCLUDE "opac/parts/login/help.tt2" %]