Fix for Bug 6189 - renewal warning should say 'renew' not checkout
authorOwen Leonard <oleonard@myacpl.org>
Mon, 18 Apr 2011 03:42:26 +0000 (23:42 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 19 Apr 2011 01:38:19 +0000 (13:38 +1200)
Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt

index 99ae8a4..f507733 100644 (file)
@@ -304,14 +304,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>