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