Lines 209-218
Link Here
|
209 |
[% IF materials %]<th>Materials specified</th>[% END %] |
209 |
[% IF materials %]<th>Materials specified</th>[% END %] |
210 |
[% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %] |
210 |
[% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %] |
211 |
[% IF ( itemdata_nonpublicnotes ) %]<th>Non-public notes</th>[% END %] |
211 |
[% IF ( itemdata_nonpublicnotes ) %]<th>Non-public notes</th>[% END %] |
212 |
[% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %] |
|
|
213 |
[% IF ( hostrecords ) %]<th>Host records</th>[% END %] |
212 |
[% IF ( hostrecords ) %]<th>Host records</th>[% END %] |
214 |
[% IF ( analyze ) %]<th>Used in</th><th></th>[% END %] |
213 |
[% IF ( analyze ) %]<th>Used in</th><th></th>[% END %] |
215 |
[% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %] |
214 |
[% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %] |
|
|
215 |
[% IF ( SpineLabelShowPrintOnBibDetails ) %]<th class="NoSort">Spine label</th>[% END %] |
216 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort"> </th>[% END %] |
216 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort"> </th>[% END %] |
217 |
</tr> |
217 |
</tr> |
218 |
</thead> |
218 |
</thead> |
Lines 365-373
Link Here
|
365 |
[% IF itemdata_nonpublicnotes %] |
365 |
[% IF itemdata_nonpublicnotes %] |
366 |
<td class="nonpublicnote">[% item.itemnotes_nonpublic | html %]</td> |
366 |
<td class="nonpublicnote">[% item.itemnotes_nonpublic | html %]</td> |
367 |
[% END %] |
367 |
[% END %] |
368 |
[% IF ( SpineLabelShowPrintOnBibDetails ) %] |
|
|
369 |
<td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode | uri %]" >Print label</a></td> |
370 |
[% END %] |
371 |
[% IF ( hostrecords ) %] |
368 |
[% IF ( hostrecords ) %] |
372 |
<td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber | uri %]" >[% item.hosttitle | html %]</a>[% END %]</td> |
369 |
<td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber | uri %]" >[% item.hosttitle | html %]</a>[% END %]</td> |
373 |
[% END %] |
370 |
[% END %] |
Lines 400-405
Link Here
|
400 |
[% END %] |
397 |
[% END %] |
401 |
</td> |
398 |
</td> |
402 |
[% END %] |
399 |
[% END %] |
|
|
400 |
|
401 |
[% IF ( SpineLabelShowPrintOnBibDetails ) %] |
402 |
<td><a class="btn btn-default btn-xs print-label" href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode | uri %]"><i class="fa fa-print"></i> Print label</a></td> |
403 |
[% END %] |
404 |
|
403 |
[% IF CAN_user_editcatalogue_edit_items %] |
405 |
[% IF CAN_user_editcatalogue_edit_items %] |
404 |
<td class="actions"> |
406 |
<td class="actions"> |
405 |
[% UNLESS item.cannot_be_edited %] |
407 |
[% UNLESS item.cannot_be_edited %] |
Lines 937-943
Link Here
|
937 |
} |
939 |
} |
938 |
}); |
940 |
}); |
939 |
[% END %] |
941 |
[% END %] |
940 |
|
942 |
$(".print-label").on("click", function(e){ |
|
|
943 |
e.preventDefault(); |
944 |
link = $(this).attr("href"); |
945 |
openWindow(link,"Print spine label",400,400); |
946 |
}); |
941 |
}); |
947 |
}); |
942 |
|
948 |
|
943 |
[% IF ( AmazonCoverImages || LocalCoverImages ) %]$(window).load(function() { |
949 |
[% IF ( AmazonCoverImages || LocalCoverImages ) %]$(window).load(function() { |