<div class="yui-b">
[% INCLUDE 'cat-toolbar.inc' %]
+ [% IF ( ocoins ) %]
+ <!-- COinS / OpenURL -->
+ <span class="Z3988" title="[% ocoins %]"></span>
+ [% END %]
+
[% IF ( AmazonEnabled ) %]
[% IF ( XSLTDetailsDisplay ) %]
<div class="yui-gc">
[% IF ( subscriptionsnumber ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#subscriptions">Subscriptions</a></li>[% END %]
[% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#editions">Editions</a></li>[% END %][% END %]
[% IF ( AmazonSimilarItems ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#related">Related Titles</a></li>[% END %]
+[% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]#images">Images</a></li>[% END %][% END %]
</ul>
<div id="holdings">
[% IF ( volinfo ) %]<th>Publication Details</th>[% END %]
[% IF ( itemdata_uri ) %]<th>url</th>[% END %]
[% IF ( itemdata_copynumber ) %]<th>Copy No.</th>[% END %]
+ [% IF materials %]<th>Materials Specified</th>[% END %]
[% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
[% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine Label</th>[% END %]
[% IF ( hostrecords ) %]<th>Host Records</th>[% END %]
- [% IF ( analyze ) %]<th>Used in</th>[% END %]
- [% IF ( analyze ) %]<th></th>[% END %]
+ [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
</tr>
[% FOREACH itemloo IN itemloop %]
<tr>
Item-level hold
[% END %]
[% IF ( canreservefromotherbranches ) %]for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% itemloo.ReservedForBorrowernumber %]">
- [% IF ( hidepatronname ) %]
+ [% IF ( itemloo.hidepatronname ) %]
[% itemloo.Reservedcardnumber %]
[% ELSE %]
[% itemloo.ReservedForFirstname %] [% itemloo.ReservedForSurname %]
[% IF ( itemdata_copynumber ) %]
<td class="copynumber">[% itemloo.copynumber %]</td>
[% END %]
+ [% IF materials %]
+ <td class="materials"> [% itemloo.materials %] </td>
+ [% END %]
[% IF ( itemdata_itemnotes ) %]<td><div class="itemnotes">[% itemloo.itemnotes %]</div></td>[% END %]
[% IF ( SpineLabelShowPrintOnBibDetails ) %]
<td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% itemloo.barcode %]" >Print Label</a></td>
</div>
[% END %][% END %]
+[% IF ( LocalCoverImages ) %]
+<div id="images">
+[% IF ( localimages ) %]
+<div>Click on an image to view it in the image viewer</div>
+[% FOREACH image IN localimages %]
+[% IF image %]
+<span class="localimage"><a href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]"><img alt="img" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" /></a></span>
+[% END %]
+[% END %]
+[% ELSE %]
+[% IF ( CAN_user_tools_upload_local_cover_images ) %]
+<p>No images have been uploaded for this bibliographic record yet. Please <a href='/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&filetype=image'>upload</a> one.</p>
+[% END %]
+[% END %]
+</div>
+[% END %]
+
</div><!-- /bibliodetails -->
<div class="yui-g" id="export" style="margin-top: 1em;">