Lines 1097-1111
Link Here
|
1097 |
<script> |
1097 |
<script> |
1098 |
var AR_CAPTION_COUNT = _("(%s total)"); |
1098 |
var AR_CAPTION_COUNT = _("(%s total)"); |
1099 |
|
1099 |
|
1100 |
|
|
|
1101 |
function tableInit( tableId ){ |
1102 |
if( tableId == "checkoutst" ){ |
1103 |
$(".dt-buttons").append("<button type=\"button\" class=\"dt-button buttons-ical\" id=\"buttons-ics\">iCal</button> "); |
1104 |
[% IF ( OpacRenewalAllowed && canrenew && !userdebarred ) %] |
1105 |
$(".dt-buttons").append("<button id=\"renewselected_link\" class=\"dt-button buttons-renew\"><i class=\"fa fa-check\" aria-hidden=\"true\"></i> "+_("Renew selected")+"</button> <button id=\"renewall_link\" class=\"dt-button buttons-renewall\"><span class=\"fa-stack\"><i class=\"fa fa-check fa-stack-1x\" aria-hidden=\"true\"></i><i class=\"fa fa-check fa-stack-1x\" aria-hidden=\"true\"></i></span> "+_("Renew all")+"</button>"); |
1106 |
[% END %] |
1107 |
} |
1108 |
} |
1109 |
$(document).ready(function(){ |
1100 |
$(document).ready(function(){ |
1110 |
[% IF ( opac_user_holds ) %] |
1101 |
[% IF ( opac_user_holds ) %] |
1111 |
$("#opac-user-views a[href='#opac-user-holds_panel']").tab("show"); |
1102 |
$("#opac-user-views a[href='#opac-user-holds_panel']").tab("show"); |
1112 |
- |
|
|