|
Lines 110-116
Link Here
|
| 110 |
[% WRAPPER tab_panel tabname="holdswaiting" bt_active= 1 %] |
110 |
[% WRAPPER tab_panel tabname="holdswaiting" bt_active= 1 %] |
| 111 |
[% IF ( reserveloop ) %] |
111 |
[% IF ( reserveloop ) %] |
| 112 |
<div id="toolbar" class="btn-toolbar"> |
112 |
<div id="toolbar" class="btn-toolbar"> |
| 113 |
<button class="btn btn-default cancel_selected_holds" data-bulk="true"></button> |
113 |
<button class="btn cancel_selected_holds" data-bulk="true"></button> |
| 114 |
</div> |
114 |
</div> |
| 115 |
[% INCLUDE waiting_holds.inc table_name='holdst' reserveloop=reserveloop tab='holdwaiting' %] |
115 |
[% INCLUDE waiting_holds.inc table_name='holdst' reserveloop=reserveloop tab='holdwaiting' %] |
| 116 |
[% ELSE %] |
116 |
[% ELSE %] |
|
Lines 120-141
Link Here
|
| 120 |
|
120 |
|
| 121 |
[% WRAPPER tab_panel tabname="holdsover" %] |
121 |
[% WRAPPER tab_panel tabname="holdsover" %] |
| 122 |
[% IF ( overloop ) %] |
122 |
[% IF ( overloop ) %] |
| 123 |
<span id="holdsover-cancel-all"> |
123 |
<div id="toolbar" class="btn-toolbar"> |
| 124 |
<button class="cancel_selected_holds" data-bulk="true"></button> |
124 |
<button class="btn cancel_selected_holds" data-bulk="true"></button> |
| 125 |
<form name="cancelAllReserve" action="waitingreserves.pl" method="post"> |
125 |
<div class="btn-group"> |
| 126 |
<input type="hidden" name="cancelall" value="1" /> |
126 |
<form name="cancelAllReserve" action="waitingreserves.pl" method="post"> |
| 127 |
<input type="hidden" name="allbranches" value="[% allbranches | html %]" /> |
127 |
<input type="hidden" name="cancelall" value="1" /> |
| 128 |
<input type="hidden" name="tab" value="holdsover"> |
128 |
<input type="hidden" name="allbranches" value="[% allbranches | html %]" /> |
| 129 |
[% IF TransferWhenCancelAllWaitingHolds %] |
129 |
<input type="hidden" name="tab" value="holdsover"> |
| 130 |
<input type="submit" class="btn btn-primary" value="Cancel and transfer all" /> |
130 |
[% IF TransferWhenCancelAllWaitingHolds %] |
| 131 |
[% ELSE %] |
131 |
<input type="submit" class="btn btn-primary" value="Cancel and transfer all" /> |
| 132 |
<input type="submit" class="btn btn-primary" value="Cancel all" /> |
132 |
[% ELSE %] |
| 133 |
[% END %] |
133 |
<input type="submit" class="btn btn-primary" value="Cancel all" /> |
| 134 |
</form> |
134 |
[% END %] |
| 135 |
[% UNLESS TransferWhenCancelAllWaitingHolds %] |
135 |
</form> |
| 136 |
Only items that need not be transferred will be cancelled (TransferWhenCancelAllWaitingHolds syspref) |
136 |
</div> |
| 137 |
[% END %] |
137 |
</div> |
| 138 |
</span> |
138 |
[% UNLESS TransferWhenCancelAllWaitingHolds %] |
|
|
139 |
<div class="hint">Only items that need not be transferred will be cancelled (TransferWhenCancelAllWaitingHolds syspref)</div> |
| 140 |
[% END %] |
| 139 |
[% INCLUDE waiting_holds.inc table_name='holdso' reserveloop=overloop tab='holdsover' %] |
141 |
[% INCLUDE waiting_holds.inc table_name='holdso' reserveloop=overloop tab='holdsover' %] |
| 140 |
[% ELSE %] |
142 |
[% ELSE %] |
| 141 |
<div class="dialog message">No holds found.</div> |
143 |
<div class="dialog message">No holds found.</div> |
|
Lines 144-149
Link Here
|
| 144 |
|
146 |
|
| 145 |
[% WRAPPER tab_panel tabname="holdscancelled" %] |
147 |
[% WRAPPER tab_panel tabname="holdscancelled" %] |
| 146 |
[% IF cancel_reqs_count %] |
148 |
[% IF cancel_reqs_count %] |
|
|
149 |
<div id="toolbar" class="btn-toolbar"> |
| 150 |
<button class="btn cancel_selected_holds" data-bulk="true"></button> |
| 151 |
</div> |
| 147 |
[% INCLUDE waiting_holds.inc select_column='1' table_name='holdscr' reserveloop=cancel_reqs tab='holdscr' %] |
152 |
[% INCLUDE waiting_holds.inc select_column='1' table_name='holdscr' reserveloop=cancel_reqs tab='holdscr' %] |
| 148 |
[% ELSE %] |
153 |
[% ELSE %] |
| 149 |
<div class="dialog message">No holds found.</div> |
154 |
<div class="dialog message">No holds found.</div> |
| 150 |
- |
|
|