[Koha-patches] [PATCH] Fix for Bug 6189 - renewal warning should say 'renew' not checkout

Owen Leonard oleonard at myacpl.org
Thu Apr 14 15:11:23 CEST 2011


---
 .../prog/en/modules/circ/circulation.tt            |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
index ae5c0a6..8c07f99 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -298,14 +298,22 @@ function refocus(calendar) {
     [% END %]
     <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
     <input type="hidden" name="branch" value="[% branch %]" />
+    [% IF ( RENEW_ISSUE ) %]
+    <input type="submit" class="approve" value="Yes, Renew (Y)" accesskey="y" />
+    [% ELSE %]
     <input type="submit" class="approve" value="Yes, Check Out (Y)" accesskey="y" />
+    [% END %]
 </form>
 
 <form method="get" action="/cgi-bin/koha/circ/circulation.pl">
     <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
     <input type="hidden" name="duedatespec" value="[% duedatespec %]" />
     <input type="hidden" name="stickyduedate" value="[% stickyduedate %]" />
+    [% IF ( RENEW_ISSUE ) %]
+    <input type="submit" class="deny" value="No, Don't Renew (N)" accesskey="n" />
+    [% ELSE %]
     <input type="submit" class="deny" value="No, Don't Check Out (N)" accesskey="n" />
+    [% END %]
 </form>
 
 </div></div>
-- 
1.7.3



More information about the Koha-patches mailing list