Bugzilla – Attachment 52774 Details for
Bug 16806
"Too soon" renewal error generates no alert for user
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for opac-user.tt
bug16806.patch (text/plain), 1.66 KB, created by
Eric Phetteplace
on 2016-06-23 23:14:40 UTC
(
hide
)
Description:
patch for opac-user.tt
Filename:
MIME Type:
Creator:
Eric Phetteplace
Created:
2016-06-23 23:14:40 UTC
Size:
1.66 KB
patch
obsolete
>From f8a042f5ad284b27e2e29305bd429ff8d466f8b4 Mon Sep 17 00:00:00 2001 >From: phette23 <phette23@gmail.com> >Date: Thu, 23 Jun 2016 16:06:59 -0700 >Subject: [PATCH] Bug 16806: no error message for 'too_soon' renewal > >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 >--- > 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 f31f47e..c823927 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -79,6 +79,8 @@ > 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.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16806
:
52773
|
52774
|
54085
|
54087
|
54116