From 501efed0b7140b2d3a5272349ab0fc3ab820b240 Mon Sep 17 00:00:00 2001 From: Justin Hopkins Date: Mon, 30 Jul 2012 17:25:20 -0500 Subject: [PATCH] Add card expired message to the myopac account summary The JSPAC included a message to users who had an expired card alerting them to this fact. This message is useful and was not writted into the TPAC. Signed-off-by: Justin Hopkins Signed-off-by: Dan Scott Signed-off-by: Ben Shum --- Open-ILS/src/templates/opac/parts/myopac/main_base.tt2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/myopac/main_base.tt2 b/Open-ILS/src/templates/opac/parts/myopac/main_base.tt2 index 02c1509101..c28ea71e3b 100644 --- a/Open-ILS/src/templates/opac/parts/myopac/main_base.tt2 +++ b/Open-ILS/src/templates/opac/parts/myopac/main_base.tt2 @@ -50,7 +50,11 @@
-
+
+ [% IF date.format(ctx.user.expire_date, '%s') < date.format(date.now , '%s') %] + Your library card expired on [% date.format(ctx.user.expire_date, '%B %d, %Y') %]. Please contact a librarian to resolve this issue. + [% END %] +
-- 2.11.0