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)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 16 Sep 2016 07:27:22 +0000 (09:27 +0200)
commit568e7c2fe8265cd64ddcf9997d621dc063e9cf79
tree06a1ab9e1c52302c1d686f94fdad6666b66b647d
parentc4232022753f7f64dd1c18cdc448536af608629a
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>
(cherry picked from commit fa4171ce58fe7be54eb404d2e0d06edafb698954)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Conflicts:
opac/opac-user.pl
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
opac/opac-user.pl