From 57a53ce675e39f381c6aeb4eca4654e75c779186 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch>
Date: Mon, 5 Jun 2017 17:41:09 +0200
Subject: [PATCH] Bug 18641: (RM-followup) for waitingreserves.tt
Code changed for waitingreserves.tt as asked for in comment #7
---
koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt
index c8695e6..e0f7169 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt
@@ -141,8 +141,11 @@
<input type="hidden" name="cancelall" value="1" />
<input type="hidden" name="allbranches" value="[% allbranches %]" />
<input type="hidden" name="tab" value="holdsover">
- [% BLOCK submit_value %][% IF TransferWhenCancelAllWaitingHolds %]Cancel and Transfer all[%ELSE%]Cancel all[% END %][% END %]
- <input type="submit" value="[%- INCLUDE submit_value -%]" />
+ [% IF TransferWhenCancelAllWaitingHolds %]
+ <input type="submit" value="Cancel and Transfer all" />
+ [% ELSE %]
+ <input type="submit" value="Cancel all" />
+ [% END %]
</form>
[% UNLESS TransferWhenCancelAllWaitingHolds %]
Only items that need not be transferred will be cancelled (TransferWhenCancelAllWaitingHolds sypref)
--
2.1.4