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)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 8 Sep 2016 20:04:58 +0000 (22:04 +0200)
commitfa4171ce58fe7be54eb404d2e0d06edafb698954
tree84693220c4a41f981b71d0a826048454629be094
parent644d85664735644fa50af63652852ada913e8989
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>
(cherry picked from commit e67fc1806cbcb9fbe038b67ad0862f3f163a4313)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
opac/opac-user.pl