From 411234080fbcc394e46414cd7218646e21265e15 Mon Sep 17 00:00:00 2001 From: phette23 Date: Thu, 23 Jun 2016 16:06:59 -0700 Subject: [PATCH] Bug 16806: no error message for 'too_soon' renewal MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To test: - for a particular item type & patron category, configure a non-zero "no renewal before" date so items can't be immediately renewed - sign in as a patron in aforementioned patron category - check out an item of aforementioned item type - go to your renewals page in OPAC /cgi-bin/koha/opac-user.pl - an error messages appears in the div.alert.dialog up top Sponsored-by: California College of the Arts Signed-off-by: Brendon Ford Signed-off-by: Irma Birchall Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall (cherry picked from commit aa2f56fa1a76d98ab9543a100810c354c4d23554) Signed-off-by: Frédéric Demians (cherry picked from commit 8ff5f08edd0dc434e56d35cb4956df6027f0eed6) Signed-off-by: Julian Maurice --- 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 d52a9639d6..bfb4a9320d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -90,6 +90,8 @@ Using this account is not recommended because some parts of Koha will not functi Your account has expired. Please contact the library for more information. [% ELSIF error == 'too_many' %] You have renewed this item the maximum number of times allowed. + [% ELSIF error == 'too_soon' %] + It is too soon after the checkout date for this item to be renewed. [% ELSIF error == 'on_reserve' %] This item is on hold for another patron. [% END %] -- 2.39.5