|
Lines 456-462
Link Here
|
| 456 |
|
456 |
|
| 457 |
[% UNLESS ( multi_hold ) %] |
457 |
[% UNLESS ( multi_hold ) %] |
| 458 |
<li> |
458 |
<li> |
| 459 |
<label for="requestany">Hold next available item </label> |
459 |
<label for="requestany">Hold next available item: </label> |
| 460 |
[% IF force_hold_level == 'item' %] |
460 |
[% IF force_hold_level == 'item' %] |
| 461 |
<input type="checkbox" id="requestany" name="request" disabled="true" /> |
461 |
<input type="checkbox" id="requestany" name="request" disabled="true" /> |
| 462 |
[% ELSIF force_hold_level == 'record' %] |
462 |
[% ELSIF force_hold_level == 'record' %] |
|
Lines 471-477
Link Here
|
| 471 |
|
471 |
|
| 472 |
[% IF remaining_holds_for_record > 1 %] |
472 |
[% IF remaining_holds_for_record > 1 %] |
| 473 |
<li> |
473 |
<li> |
| 474 |
<label for="holds_to_place_count">Holds to place (count)</label> |
474 |
<label for="holds_to_place_count">Holds to place (count): </label> |
| 475 |
<input type="text" inputmode="numeric" pattern="[0-9]*" id="holds_to_place_count" name="holds_to_place_count" maxlength="[% remaining_holds_for_record | html %]" value="1" /> |
475 |
<input type="text" inputmode="numeric" pattern="[0-9]*" id="holds_to_place_count" name="holds_to_place_count" maxlength="[% remaining_holds_for_record | html %]" value="1" /> |
| 476 |
</li> |
476 |
</li> |
| 477 |
[% ELSE %] |
477 |
[% ELSE %] |
|
Lines 484-489
Link Here
|
| 484 |
<input name="non_priority" id="non_priority" type="checkbox" /> |
484 |
<input name="non_priority" id="non_priority" type="checkbox" /> |
| 485 |
<span class="hint">A non priority hold doesn't prevent a current checkout from renewing</span> |
485 |
<span class="hint">A non priority hold doesn't prevent a current checkout from renewing</span> |
| 486 |
</li> |
486 |
</li> |
|
|
487 |
|
| 488 |
<li id="hold_group_list_item"> |
| 489 |
<label for="hold_group">Treat as hold group: </label> |
| 490 |
<input name="hold_group" id="hold_group" type="checkbox" /> |
| 491 |
<span class="hint">Place a hold on the next available title from this group</span> |
| 492 |
</li> |
| 487 |
</ol> |
493 |
</ol> |
| 488 |
|
494 |
|
| 489 |
[% UNLESS ( multi_hold ) %] |
495 |
[% UNLESS ( multi_hold ) %] |
|
Lines 557-565
Link Here
|
| 557 |
Hold must be record level |
563 |
Hold must be record level |
| 558 |
</span> |
564 |
</span> |
| 559 |
[% ELSIF ( itemloo.available ) %] |
565 |
[% ELSIF ( itemloo.available ) %] |
| 560 |
<input type="radio" name="checkitem" value="[% itemloo.itemnumber | html %]" /> |
566 |
<input type="checkbox" name="checkitem" value="[% itemloo.itemnumber | html %]" /> |
| 561 |
[% ELSIF ( itemloo.override ) %] |
567 |
[% ELSIF ( itemloo.override ) %] |
| 562 |
<input type="radio" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" /> |
568 |
<input type="checkbox" name="checkitem" class="needsoverride" value="[% itemloo.itemnumber | html %]" /> |
| 563 |
<i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i> |
569 |
<i class="fa fa-exclamation-triangle fa-lg" style="color:gold" title="Requires override of hold policy"/></i> |
| 564 |
[% ELSE %] |
570 |
[% ELSE %] |
| 565 |
<span class="error"> |
571 |
<span class="error"> |
|
Lines 981-986
Link Here
|
| 981 |
</div> |
987 |
</div> |
| 982 |
</div> |
988 |
</div> |
| 983 |
|
989 |
|
|
|
990 |
[% INCLUDE 'hold-group-modal.inc' %] |
| 991 |
|
| 984 |
[% MACRO jsinclude BLOCK %] |
992 |
[% MACRO jsinclude BLOCK %] |
| 985 |
[% INCLUDE 'datatables.inc' %] |
993 |
[% INCLUDE 'datatables.inc' %] |
| 986 |
[% INCLUDE 'calendar.inc' %] |
994 |
[% INCLUDE 'calendar.inc' %] |
|
Lines 988-993
Link Here
|
| 988 |
[% Asset.js("lib/hc-sticky.js") | $raw %] |
996 |
[% Asset.js("lib/hc-sticky.js") | $raw %] |
| 989 |
[% Asset.js("js/circ-patron-search-results.js") | $raw %] |
997 |
[% Asset.js("js/circ-patron-search-results.js") | $raw %] |
| 990 |
[% INCLUDE 'select2.inc' %] |
998 |
[% INCLUDE 'select2.inc' %] |
|
|
999 |
[% Asset.js("js/hold-group.js") | $raw %] |
| 991 |
<script> |
1000 |
<script> |
| 992 |
var Sticky; |
1001 |
var Sticky; |
| 993 |
var biblionumber = "[% biblionumber | $raw %]"; |
1002 |
var biblionumber = "[% biblionumber | $raw %]"; |