Lines 480-485
Link Here
|
480 |
[% END %] |
480 |
[% END %] |
481 |
<th>Status</th> |
481 |
<th>Status</th> |
482 |
<th class="nosort">Modify</th> |
482 |
<th class="nosort">Modify</th> |
|
|
483 |
[% IF SuspendHoldsOpac %] |
484 |
<th class="nosort" >Suspend individual holds</th> |
485 |
[% END %] |
483 |
</tr> |
486 |
</tr> |
484 |
</thead> |
487 |
</thead> |
485 |
<tbody> |
488 |
<tbody> |
Lines 557-565
Link Here
|
557 |
<form action="/cgi-bin/koha/opac-modrequest.pl" method="post"> |
560 |
<form action="/cgi-bin/koha/opac-modrequest.pl" method="post"> |
558 |
<input type="hidden" name="biblionumber" value="[% RESERVE.biblionumber %]" /> |
561 |
<input type="hidden" name="biblionumber" value="[% RESERVE.biblionumber %]" /> |
559 |
<input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" /> |
562 |
<input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" /> |
560 |
<button type="submit" name="submit" class="btn btn-mini btn-danger" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);">Cancel</button></form> |
563 |
<button type="submit" name="submit" class="btn btn-danger" onclick="return confirmDelete(MSG_CONFIRM_DELETE_HOLD);"><i class="icon-remove icon-white"></i> Cancel</button></form> |
561 |
[% END %] |
564 |
[% END %] |
562 |
</td> |
565 |
</td> |
|
|
566 |
[% IF SuspendHoldsOpac %] |
567 |
<td> |
568 |
[% IF ( RESERVE.cancelable ) %] |
569 |
<form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post"> |
570 |
<input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id %]" /> |
571 |
|
572 |
[% IF RESERVE.suspend %] |
573 |
<button class="btn" type="submit" name="submit"><i class="icon-play"></i> Resume suspended hold</button> |
574 |
[% ELSE %] |
575 |
<button class="btn" type="submit" name="submit"><i class="icon-pause"></i> Suspend hold</button> |
576 |
|
577 |
[% IF AutoResumeSuspendedHolds %] |
578 |
<label for="suspend_until_[% RESERVE.reserve_id %]"> until </label> |
579 |
<input name="suspend_until" id="suspend_until_[% RESERVE.reserve_id %]" class="suspend-until" readonly="readonly" size="10" /> |
580 |
<a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('suspend_until_[% RESERVE.reserve_id %]').value='';return false;">Clear date</a> |
581 |
[% END %] |
582 |
[% END %] |
583 |
</form> |
584 |
[% END %] |
585 |
</td> |
586 |
[% END %] |
563 |
</tr> |
587 |
</tr> |
564 |
[% END # /FOREACH RESERVES %] |
588 |
[% END # /FOREACH RESERVES %] |
565 |
</tbody> |
589 |
</tbody> |
Lines 567-586
Link Here
|
567 |
|
591 |
|
568 |
[% IF SuspendHoldsOpac %] |
592 |
[% IF SuspendHoldsOpac %] |
569 |
<div> |
593 |
<div> |
570 |
<form action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post"> |
594 |
<form class="form-inline" action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post"> |
571 |
<input type="submit" name="submit" class="btn" value="Suspend all holds" onclick="return confirmDelete(MSG_CONFIRM_SUSPEND_HOLDS);" /> |
595 |
<button type="submit" name="submit" class="btn" onclick="return confirmDelete(MSG_CONFIRM_SUSPEND_HOLDS);"><i class="icon-pause"></i> Suspend all holds</button> |
572 |
<input type="hidden" name="suspend" value="1" /> |
596 |
<input type="hidden" name="suspend" value="1" /> |
573 |
|
597 |
|
574 |
[% IF AutoResumeSuspendedHolds %] |
598 |
[% IF AutoResumeSuspendedHolds %] |
575 |
<label for="suspend_until"> until </label> |
599 |
<label for="suspend_until"> until </label> |
576 |
<input name="suspend_until" id="suspend_until" readonly="readonly" size="10" /> |
600 |
<input name="suspend_until" id="suspend_until" class="suspend-until" readonly="readonly" size="10" /> |
577 |
<a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('suspend_until').value='';return false;">Clear date</a> |
601 |
<a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('suspend_until').value='';return false;">Clear date</a> |
578 |
[% END %] |
602 |
[% END %] |
579 |
</form> |
603 |
</form> |
580 |
</div> |
604 |
</div> |
|
|
605 |
<br/> |
581 |
<div> |
606 |
<div> |
582 |
<form action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post"> |
607 |
<form action="/cgi-bin/koha/opac-modrequest-suspend.pl" method="post"> |
583 |
<input type="submit" name="submit" class="btn" value="Resume all suspended holds" onclick="return confirmDelete(MSG_CONFIRM_RESUME_HOLDS);" /> |
608 |
<button type="submit" name="submit" class="btn" onclick="return confirmDelete(MSG_CONFIRM_RESUME_HOLDS);"><i class="icon-play"></i> Resume all suspended holds</button> |
584 |
<input type="hidden" name="suspend" value="0" /> |
609 |
<input type="hidden" name="suspend" value="0" /> |
585 |
</form> |
610 |
</form> |
586 |
</div> |
611 |
</div> |
Lines 644-651
Link Here
|
644 |
}); |
669 |
}); |
645 |
$("#checkoutst caption").append("<div id=\"renewcontrols\"><a id=\"renewselected_link\" href=\"#\">"+_("Renew selected")+"</a> <a id=\"renewall_link\" href=\"#\">"+_("Renew all")+"</a></div>"); |
670 |
$("#checkoutst caption").append("<div id=\"renewcontrols\"><a id=\"renewselected_link\" href=\"#\">"+_("Renew selected")+"</a> <a id=\"renewall_link\" href=\"#\">"+_("Renew all")+"</a></div>"); |
646 |
[% END %] |
671 |
[% END %] |
647 |
$( "#suspend_until" ).datepicker({ minDate: 1 }); // Require that "until date" be in the future |
672 |
$( ".suspend-until" ).datepicker({ minDate: 1 }); // Require that "until date" be in the future |
648 |
}); |
673 |
}); |
649 |
//]]> |
674 |
//]]> |
650 |
</script> |
675 |
</script> |
651 |
[% END %] |
676 |
[% END %] |
652 |
- |
|
|