Lines 836-842
Link Here
|
836 |
<script> |
836 |
<script> |
837 |
function tableInit( tableId ){ |
837 |
function tableInit( tableId ){ |
838 |
if( tableId == "checkoutst" ){ |
838 |
if( tableId == "checkoutst" ){ |
839 |
$(".dt-buttons").append("<a class=\"dt-button buttons-ical\" href=\"opac-ics.pl\">iCal</a> "); |
839 |
$(".dt-buttons").append("<button type=\"button\" class=\"dt-button buttons-ical\" id=\"buttons-ics\">iCal</button> "); |
840 |
[% IF ( OpacRenewalAllowed && canrenew && !userdebarred ) %] |
840 |
[% IF ( OpacRenewalAllowed && canrenew && !userdebarred ) %] |
841 |
$(".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>"); |
841 |
$(".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>"); |
842 |
[% END %] |
842 |
[% END %] |
Lines 912-921
Link Here
|
912 |
"language": { |
912 |
"language": { |
913 |
"search": "_INPUT_", |
913 |
"search": "_INPUT_", |
914 |
"searchPlaceholder": _("Search") |
914 |
"searchPlaceholder": _("Search") |
915 |
} |
915 |
}, |
|
|
916 |
"autoWidth": false |
916 |
})); |
917 |
})); |
917 |
}); |
918 |
}); |
918 |
|
919 |
|
|
|
920 |
$("body").on("click", "#buttons-ics", function(){ |
921 |
location.href="/cgi-bin/koha/opac-ics.pl"; |
922 |
}); |
923 |
|
919 |
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] |
924 |
[% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %] |
920 |
[% IF ( OpacRenewalAllowed && canrenew && !userdebarred ) %] |
925 |
[% IF ( OpacRenewalAllowed && canrenew && !userdebarred ) %] |
921 |
$("#renewselected").submit(function(){ |
926 |
$("#renewselected").submit(function(){ |
922 |
- |
|
|