From 53842a4163a05ec081194755e9d925407962cca3 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 --- 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 22480d1bea..6d95d6bb22 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -101,6 +101,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.28.0