Bug 13913 - Renewal error message in OPAC is confusing
authorOwen Leonard <oleonard@myacpl.org>
Sat, 29 Apr 2017 17:14:10 +0000 (17:14 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 5 Jun 2017 14:48:34 +0000 (11:48 -0300)
commit281e1253777d2bd635610075fe610bedb2d47360
treec213e17aea3eca60d4f3c87307b8ee3dc965e8a0
parentcbb5096934907ec56df27d6ee3e77d752cd5e401
Bug 13913 - Renewal error message in OPAC is confusing

This patch adds some formatting to the error message a patron receives
when there are renewal failures in the OPAC.

This is pretty much the least which could be done to address this
problem. However, I don't think the issue can be fixed without
re-thinking how renewals are processed. Sending error messages back to
opac-user.pl via URL parameter isn't flexible enough.

To test, apply the patch and attempt to renew multiple items in the OPAC
which cannot be renewed for some reason, for instance because they have
been renewed too many times. The error messages should appear in a list
rather than strung together in one long block of text.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt