Lines 1067-1072
Link Here
|
1067 |
> |
1067 |
> |
1068 |
</form> |
1068 |
</form> |
1069 |
|
1069 |
|
|
|
1070 |
<form method="POST" action="/cgi-bin/koha/tools/batch_modify_holds.pl" id="batch_modify_holds"> |
1071 |
<input type="hidden" name="op" value="list" /> |
1072 |
[% FOREACH result IN results %] |
1073 |
[% FOREACH cells IN result.cells %] |
1074 |
[% place = loop.index %] |
1075 |
[% IF header_row.$place.cell == 'reserve_id' || header_types.item(header_row.$place.cell) == 'reserve_id' %] |
1076 |
[% SET batch_reserve_ids = 1 %] |
1077 |
<input type="hidden" name="reserve_ids" value="[% cells.cell | html %]" /> |
1078 |
[% END %] |
1079 |
[% END %] |
1080 |
[% END %] |
1081 |
</form> |
1082 |
|
1070 |
[% BLOCK batch_list %] |
1083 |
[% BLOCK batch_list %] |
1071 |
[%- FOREACH result IN results %] |
1084 |
[%- FOREACH result IN results %] |
1072 |
[%- FOREACH cells IN result.cells %] |
1085 |
[%- FOREACH cells IN result.cells %] |
Lines 1091-1099
Link Here
|
1091 |
</form> |
1104 |
</form> |
1092 |
<!-- /#limitselect --> |
1105 |
<!-- /#limitselect --> |
1093 |
|
1106 |
|
1094 |
[% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_borrowernumbers ) || ( unlimited_total > 10 && limit <= 1000 ) %] |
1107 |
[% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_borrowernumbers || batch_reserve_ids ) || ( unlimited_total > 10 && limit <= 1000 ) %] |
1095 |
<div id="toolbar" class="btn-toolbar"> |
1108 |
<div id="toolbar" class="btn-toolbar"> |
1096 |
[% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_borrowernumbers ) %] |
1109 |
[% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_borrowernumbers || batch_reserve_ids ) %] |
1097 |
<div class="btn-group"> |
1110 |
<div class="btn-group"> |
1098 |
<button class="btn btn-default btn-sm dropdown-toggle" type="button" id="batch_mod_menu" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> |
1111 |
<button class="btn btn-default btn-sm dropdown-toggle" type="button" id="batch_mod_menu" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> |
1099 |
Batch operations with [% IF unlimited_total >= limit %][% results.size | html %][% ELSE %][% unlimited_total | html %][% END %] visible records |
1112 |
Batch operations with [% IF unlimited_total >= limit %][% results.size | html %][% ELSE %][% unlimited_total | html %][% END %] visible records |
Lines 1201-1212
Link Here
|
1201 |
> |
1214 |
> |
1202 |
</li> |
1215 |
</li> |
1203 |
[% END %] |
1216 |
[% END %] |
|
|
1217 |
[% IF header_ro.cell == 'reserve_id' || header_types.item( header_ro.cell ) == 'reserve_id' %] |
1218 |
<li class="dropdown-header">Hold records</li> |
1219 |
<li> |
1220 |
<a |
1221 |
href="#" |
1222 |
data-submit="batch_modify_holds" |
1223 |
data-toggle="tooltip" |
1224 |
data-placement="right" |
1225 |
title="Send visible results to batch hold modification" |
1226 |
class="batch_op send_to_hold_mod" |
1227 |
>Batch hold modification</a |
1228 |
> |
1229 |
</li> |
1230 |
[% END %] |
1204 |
[% END # /FOREACH header_ro %] |
1231 |
[% END # /FOREACH header_ro %] |
1205 |
</ul> |
1232 |
</ul> |
1206 |
<!-- /.dropdown-menu --> |
1233 |
<!-- /.dropdown-menu --> |
1207 |
</div> |
1234 |
</div> |
1208 |
<!-- /.dropdown --> |
1235 |
<!-- /.dropdown --> |
1209 |
[% END # /IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %] |
1236 |
[% END # /IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_reserve_ids ) %] |
1210 |
|
1237 |
|
1211 |
[% IF ( unlimited_total > 10 && limit <= 1000 ) %] |
1238 |
[% IF ( unlimited_total > 10 && limit <= 1000 ) %] |
1212 |
<div class="btn-group"> |
1239 |
<div class="btn-group"> |
Lines 1234-1240
Link Here
|
1234 |
</div> |
1261 |
</div> |
1235 |
[% END # /IF ( unlimited_total > 10 && limit <= 1000 ) %] |
1262 |
[% END # /IF ( unlimited_total > 10 && limit <= 1000 ) %] |
1236 |
|
1263 |
|
1237 |
[% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers ) %] |
1264 |
[% IF ( batch_biblionumbers || batch_itemnumbers || batch_cardnumbers || batch_reserve_ids ) %] |
1238 |
<a href="#" class="btn btn-link" id="toggle_auto_links"> |
1265 |
<a href="#" class="btn btn-link" id="toggle_auto_links"> |
1239 |
<i class="fa-solid fa-eye autolink" aria-hidden="true" style="display:none"></i> |
1266 |
<i class="fa-solid fa-eye autolink" aria-hidden="true" style="display:none"></i> |
1240 |
<i class="fa-solid fa-eye-slash autolink" aria-hidden="true"></i> |
1267 |
<i class="fa-solid fa-eye-slash autolink" aria-hidden="true"></i> |
1241 |
- |
|
|