From 1670a2f60da22cb51f60cfcfff06ad67361e1b0e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 9 Aug 2016 09:49:33 -0400 Subject: [PATCH] Bug 16464 - If a patron has been discharged, show a message in the OPAC Content-Type: text/plain; charset="utf-8" This patch adds a message to the patron home page in the OPAC to be shown if the user is restricted because of a discharge. To test, apply the patch and log into the OPAC as a patron who has been discharged. - You should see a message which says so, including a link to the discharge notice. - Log in to the OPAC as a patron with a manual restriction and confirm that the correct notice is displayed. --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 14 ++++++++++---- opac/opac-user.pl | 6 ++++++ 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index a1910f3..4ffda98 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -104,10 +104,16 @@ Using this account is not recommended because some parts of Koha will not functi