Bug 16464 - If a patron has been discharged, show a message in the OPAC
authorOwen Leonard <oleonard@myacpl.org>
Tue, 9 Aug 2016 13:49:33 +0000 (09:49 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 2 Sep 2016 15:49:36 +0000 (15:49 +0000)
commite67fc1806cbcb9fbe038b67ad0862f3f163a4313
treee1ad9e23de1511423b5a17af173077a5355e098c
parentaf49b42219c6c2fb2f2a52cfb229d37b20b79e84
Bug 16464 - If a patron has been discharged, show a message in the OPAC

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.

Signed-off-by: Claire Gravely <c.gravely@arts.ac.uk>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
opac/opac-user.pl