From 5fe8bc1af7b9a0f1a79e40fec2e0b5bde9d6d799 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Sat, 5 Sep 2020 05:26:47 +0000 Subject: [PATCH] Bug 26389: Add auto renewal error to opac-user.tt Test plan: 1 Check out an auto-renewing item to a patron 2 confirm in circ rules that the rule allows at least one renewal 3 log into OPAC, confirm your summary shows item is scheduled for auto-renewal 4 click Renew All 5 Get note "Please note: Your loan renewal failed because of the following reason(s):" with no following reasons 6 Apply patch 7 Repeat 3-5 8 See appropriate error Signed-off-by: Fridolin Somers Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit ace5b632a6ed965931e1332cacb1419c16286d65) Signed-off-by: Lucas Gass --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index 1691f9dbfa..ebcab4bd6b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -93,6 +93,8 @@
  • This item is on hold for another borrower.
  • [% ELSIF error == 'item_denied_renewal' %]
  • Item renewal is not allowed.
  • + [% ELSIF error == 'auto_too_soon' %] +
  • This item is scheduled for auto renewal.
  • [% END %] [% END %] -- 2.39.5