From: Justin Hopkins Date: Mon, 30 Jul 2012 22:25:20 +0000 (-0500) Subject: Add card expired message to the myopac account summary X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=501efed0b7140b2d3a5272349ab0fc3ab820b240;p=evergreen%2Fmasslnc.git 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 --- 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 %] +