Koha/koha-tmpl/opac-tmpl
Jonathan Druart 0a49e3bf92 Bug 20363: (bug 16966 follow-up) better messages handling
User views the "Your privacy" -page, it shows "No reading history to
delete", even when the user has history.

Test plan:
- Turn OPACPrivacy on
- Go to opac-privacy.pl
- Click the "Immediate deletion button" to delete the reading history
=> If the patron has reading history you must get "Your reading history has been deleted."
Otherwise "No reading history to delete"

Note that this patch reintroduce the "something went wrong" message if
the deletion failed for whatever reason.

Signed-off-by: David Bourgault <david.bourgault@inlibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-04-23 14:22:16 -03:00
..
bootstrap Bug 20363: (bug 16966 follow-up) better messages handling 2018-04-23 14:22:16 -03:00
lib Bug 15794: Add an emoji picker to tag entry in OPAC 2018-02-16 18:12:55 -03:00
xslt Bug 15108: OAI-PMH provider improvements 2017-05-08 09:27:20 -04:00