From e70b7baaeefa2e4e68bb80707c9f34de09768776 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Thu, 19 Nov 2015 14:01:10 -0500 Subject: [PATCH] Tweak login form for Boreal Signed-off-by: Dan Scott --- .../src/templates_boreal/opac/parts/login/form.tt2 | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Open-ILS/src/templates_boreal/opac/parts/login/form.tt2 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" %] -- 2.11.0