Bugzilla – Attachment 57038 Details for
Bug 15581
Add a circ rule to not allow auto-renewals after defined loan period
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15581: Follow-up - suggested change to the OPAC message
Bug-15581-Follow-up---suggested-change-to-the-OPAC.patch (text/plain), 2.29 KB, created by
Katrin Fischer
on 2016-11-01 14:57:14 UTC
(
hide
)
Description:
Bug 15581: Follow-up - suggested change to the OPAC message
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-11-01 14:57:14 UTC
Size:
2.29 KB
patch
obsolete
>From 66c1e64a0ac6a41a8048a964a50130eae469b76d Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Tue, 1 Nov 2016 15:53:05 +0100 >Subject: [PATCH] Bug 15581: Follow-up - suggested change to the OPAC message > >Instead of showing "Automatic renewal" to the user, this >changes it to show "No longer renewable" when the >automatic renewal won't happen any longer because of the >days the item has already been checked out. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 2 ++ > opac/opac-user.pl | 1 + > 2 files changed, 3 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 438cb10..5cb3239 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -259,6 +259,8 @@ Using this account is not recommended because some parts of Koha will not functi > Not renewable > [% ELSIF ( ISSUE.norenew_overdue ) %] > Not allowed <span class="renewals">(overdue)</span> >+ [% ELSIF ( ISSUE.auto_too_late ) %] >+ No longer renewable > [% ELSIF ( ISSUE.auto_renew || ISSUE.auto_too_soon ) %] > Automatic renewal > <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span> >diff --git a/opac/opac-user.pl b/opac/opac-user.pl >index 838a573..84ee660 100755 >--- a/opac/opac-user.pl >+++ b/opac/opac-user.pl >@@ -212,6 +212,7 @@ if ($issues){ > $issue->{'norenew_overdue'} = 1 if $renewerror eq 'overdue'; > $issue->{'auto_renew'} = 1 if $renewerror eq 'auto_renew'; > $issue->{'auto_too_soon'} = 1 if $renewerror eq 'auto_too_soon'; >+ $issue->{'auto_too_late'} = 1 if $renewerror eq 'auto_too_late'; > > if ( $renewerror eq 'too_soon' ) { > $issue->{'too_soon'} = 1; >-- >2.7.4
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 15581
:
46690
|
46691
|
46692
|
50330
|
50331
|
50332
|
50347
|
50672
|
50673
|
50674
|
50675
|
50742
|
50743
|
50744
|
50745
|
53424
|
53425
|
53426
|
53427
|
55504
|
55505
|
55506
|
55507
|
56746
|
56747
|
56748
|
56749
|
56961
|
56962
|
56963
|
56964
|
56982
|
57034
|
57035
|
57036
|
57037
| 57038