|
Lines 15-27
Link Here
|
| 15 |
[% END %]</title |
15 |
[% END %]</title |
| 16 |
> |
16 |
> |
| 17 |
[% INCLUDE 'doc-head-close.inc' %] |
17 |
[% INCLUDE 'doc-head-close.inc' %] |
| 18 |
<style> |
18 |
[% FILTER collapse %] |
| 19 |
.tab-toolbar { |
19 |
<style> |
| 20 |
padding: 0.5rem 0; |
20 |
.tab-toolbar { |
| 21 |
margin-bottom: 0.5rem; |
21 |
padding: 0.5rem 0; |
| 22 |
border-bottom: 1px solid #eee; |
22 |
margin-bottom: 0.5rem; |
| 23 |
} |
23 |
border-bottom: 1px solid #eee; |
| 24 |
</style> |
24 |
} |
|
|
25 |
</style> |
| 26 |
[% END %] |
| 25 |
</head> |
27 |
</head> |
| 26 |
|
28 |
|
| 27 |
<body id="circ_waitingreserves" class="circ"> |
29 |
<body id="circ_waitingreserves" class="circ"> |
|
Lines 104-111
Link Here
|
| 104 |
[% WRAPPER tab_panels %] |
106 |
[% WRAPPER tab_panels %] |
| 105 |
[% WRAPPER tab_panel tabname="holdswaiting" bt_active= 1 %] |
107 |
[% WRAPPER tab_panel tabname="holdswaiting" bt_active= 1 %] |
| 106 |
[% IF ( reserveloop ) %] |
108 |
[% IF ( reserveloop ) %] |
| 107 |
<div id="toolbar" class="btn-toolbar"> |
109 |
<div class="tab-toolbar"> |
| 108 |
<button class="btn cancel_selected_holds" data-bulk="true"></button> |
110 |
<button class="btn btn-default cancel_selected_holds" data-bulk="true"></button> |
| 109 |
</div> |
111 |
</div> |
| 110 |
[% INCLUDE waiting_holds.inc table_name='holdst' reserveloop=reserveloop tab='holdwaiting' %] |
112 |
[% INCLUDE waiting_holds.inc table_name='holdst' reserveloop=reserveloop tab='holdwaiting' %] |
| 111 |
[% ELSE %] |
113 |
[% ELSE %] |
|
Lines 124-132
Link Here
|
| 124 |
<input type="hidden" name="allbranches" value="[% allbranches | html %]" /> |
126 |
<input type="hidden" name="allbranches" value="[% allbranches | html %]" /> |
| 125 |
<input type="hidden" name="tab" value="holdsover" /> |
127 |
<input type="hidden" name="tab" value="holdsover" /> |
| 126 |
[% IF TransferWhenCancelAllWaitingHolds %] |
128 |
[% IF TransferWhenCancelAllWaitingHolds %] |
| 127 |
<input type="submit" class="btn btn-primary" value="Cancel and transfer all" /> |
129 |
<button type="submit" class="btn btn-primary">Cancel and transfer all</button> |
| 128 |
[% ELSE %] |
130 |
[% ELSE %] |
| 129 |
<input type="submit" class="btn btn-primary" value="Cancel all" /> |
131 |
<button type="submit" class="btn btn-primary">Cancel all</button> |
| 130 |
[% END %] |
132 |
[% END %] |
| 131 |
</form> |
133 |
</form> |
| 132 |
</div> |
134 |
</div> |
|
Lines 134-140
Link Here
|
| 134 |
[% UNLESS TransferWhenCancelAllWaitingHolds %] |
136 |
[% UNLESS TransferWhenCancelAllWaitingHolds %] |
| 135 |
<div class="hint" |
137 |
<div class="hint" |
| 136 |
>Only items that need not be transferred will be cancelled |
138 |
>Only items that need not be transferred will be cancelled |
| 137 |
[% IF ( CAN_user_parameters ) %] |
139 |
[% IF ( CAN_user_parameters_manage_sysprefs ) %] |
| 138 |
(<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=TransferWhenCancelAllWaitingHolds">TransferWhenCancelAllWaitingHolds syspref</a>) |
140 |
(<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=TransferWhenCancelAllWaitingHolds">TransferWhenCancelAllWaitingHolds syspref</a>) |
| 139 |
[% ELSE %] |
141 |
[% ELSE %] |
| 140 |
(TransferWhenCancelAllWaitingHolds syspref) |
142 |
(TransferWhenCancelAllWaitingHolds syspref) |
|
Lines 149-156
Link Here
|
| 149 |
|
151 |
|
| 150 |
[% WRAPPER tab_panel tabname="holdscancelled" %] |
152 |
[% WRAPPER tab_panel tabname="holdscancelled" %] |
| 151 |
[% IF cancel_reqs_count %] |
153 |
[% IF cancel_reqs_count %] |
| 152 |
<div id="toolbar" class="btn-toolbar"> |
154 |
<div class="tab-toolbar"> |
| 153 |
<button class="btn cancel_selected_holds" data-bulk="true"></button> |
155 |
<button class="btn btn-default cancel_selected_holds" data-bulk="true"></button> |
| 154 |
</div> |
156 |
</div> |
| 155 |
[% INCLUDE waiting_holds.inc select_column='1' table_name='holdscr' reserveloop=cancel_reqs tab='holdscr' %] |
157 |
[% INCLUDE waiting_holds.inc select_column='1' table_name='holdscr' reserveloop=cancel_reqs tab='holdscr' %] |
| 156 |
[% ELSE %] |
158 |
[% ELSE %] |
| 157 |
- |
|
|