3 [% USE AuthorisedValues %]
6 [% ShowCourseReserves = 0 %]
7 [% IF UseCourseReserves %]
8 [% FOREACH item IN itemloop %]
9 [% IF item.course_reserves %]
10 [% FOREACH r IN item.course_reserves %]
11 [% IF r.course.enabled == 'yes' %]
12 [% ShowCourseReserves = 1 %]
19 [% INCLUDE 'doc-head-open.inc' %]
20 [% INCLUDE 'greybox.inc' %]
21 <title>Koha › Catalog ›
22 [% IF ( unknownbiblionumber ) %]
25 Details for [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]
29 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
30 <script type="text/javascript" src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script>
33 [% INCLUDE 'doc-head-close.inc' %]<script type="text/JavaScript">
35 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
36 function verify_images() {
37 $("#bookcoverimg").each(function(i){
38 $(this).find('img').each(function(i){
39 if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0) || (this.src.indexOf('images-na.ssl-images-amazon.com'))) {
42 if ((w == 1) || (h == 1)) {
43 $("#amazon-bookcoverimg").remove();
44 $(".yui-gb").attr("class","yui-g");
45 } else if ((this.complete != null) && (!this.complete)) {
46 $("#amazon-bookcoverimg").remove();
47 $(".yui-gb").attr("class","yui-g");
51 if( $(this).find('img').length < 1 ) $(this).remove();
53 $("#editions img").each(function(i){
54 if ((this.src.indexOf('images.amazon.com') >= 0) || (this.src.indexOf('g-images.amazon.com') >=0) || (this.src.indexOf('images-na.ssl-images-amazon.com'))) {
57 if ((w == 1) || (h == 1)) {
58 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
59 } else if ((this.complete != null) && (!this.complete)) {
60 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
66 function removeLocalImage(imagenumber) {
69 url: "/cgi-bin/koha/svc/cover_images?action=delete&biblionumber=" + [% biblionumber %] + "&imagenumber=" + imagenumber,
70 success: function(data) {
71 $(data).each( function(i) {
72 if ( this.deleted == 1 ) {
73 $('#imagenumber-' + this.imagenumber).remove();
75 if ( $('ul.thumbnails > li').length == 0 ) {
80 error: function(data) {
81 alert(_("An error occurred on deleting this image"));
87 function showNoImageMessage() {
89 var no_images_msg = _("No images have been uploaded for this bibliographic record yet.");
90 no_images_msg = '<p>' + no_images_msg + '</p>';
91 [% IF ( CAN_user_tools_upload_local_cover_images ) %]
92 var please_upload = _("Please select the image file to upload. %sUpload%s").format(
93 "<a class='btn btn-mini' href='/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&filetype=image'><i class='fa fa-upload' aria-hidden='true'></i> ",
95 no_images_msg += "<p id='upload_image'>" + please_upload + '</p>';
98 $('#images').html(no_images_msg);
101 [% IF StaffDetailItemSelection %]
103 function itemSelectionBuildDeleteLink(div) {
104 var itemnumbers = new Array();
105 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
106 itemnumbers.push($(this).val());
108 if (itemnumbers.length > 0) {
109 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1';
110 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
111 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
112 $('a.itemselection_action_delete').attr('href', url);
119 function itemSelectionBuildModifyLink(div) {
120 var itemnumbers = new Array();
121 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
122 itemnumbers.push($(this).val());
124 if (itemnumbers.length > 0) {
125 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show';
126 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
127 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
128 $('a.itemselection_action_modify').attr('href', url);
135 function itemSelectionBuildActionLinks(tab) {
136 var div = $("#" + tab);
137 var delete_link_ok = itemSelectionBuildDeleteLink(div);
138 var modify_link_ok = itemSelectionBuildModifyLink(div);
139 if (modify_link_ok || delete_link_ok) {
140 $('.itemselection_actions', div).show();
142 $('.itemselection_actions', div).hide();
146 $(document).ready(function() {
148 $('table.items_table').each(function() {
149 var div = $(this).parent().attr("id");
150 itemSelectionBuildActionLinks(div);
153 $("input[name='itemnumber'][type='checkbox']").change(function() {
154 var div = $(this).parents('table').parent().parent().attr("id");
155 itemSelectionBuildActionLinks(div);
158 $(".SelectAll").on("click",function(e){
160 var tab = $(this).data("tab");
161 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', true);
162 itemSelectionBuildActionLinks(tab);
165 $(".ClearAll").on("click",function(e){
167 var tab = $(this).data("tab");
168 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', false);
169 itemSelectionBuildActionLinks(tab);
175 $(document).ready(function() {
176 $('#bibliodetails').tabs();
178 $('#bibliodetails').tabs("option", "active", 3);
180 $('#search-form').focus();
181 $('.thumbnails > li > a > span.remove').click(function() {
182 var result = confirm(_("Are you sure you want to delete this cover image?"));
184 if ( result == true ) {
185 var imagenumber = $(this).parent().parent().attr('id').split('-')[1];
186 removeLocalImage(imagenumber);
191 [%# inject no images message %]
192 [% IF ( LocalCoverImages && ! localimages.0 ) %]
193 showNoImageMessage();
195 [% IF LocalCoverImages %]
196 KOHA.LocalCover.GetCoverFromBibnumber(true);
198 $("body").on("click",".previewMARC", function(e){
200 var page = $(this).attr("href");
201 $("#marcPreview .modal-body").load(page + " table");
202 $('#marcPreview').modal({show:true});
204 $("#marcPreview").on("hidden", function(){
205 $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
207 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
208 novSelect.loadContentForQuery(
210 ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
211 ISBN : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
214 '[% Koha.Preference('NovelistSelectProfile') %]',
215 '[% Koha.Preference('NovelistSelectPassword') %]',
217 if ( d.length > 0 ){ //If no content
218 $(".NovelistSelect").show();
225 [% IF ( AmazonCoverImages || LocalCoverImages ) %]$(window).load(function() {
230 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
231 [% INCLUDE 'datatables.inc' %]
232 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script>
233 [% INCLUDE 'browser-strings.inc' %]
235 <script type="text/javascript" src="[% interface %]/lib/shims/json2.min.js"></script>
237 <script type="text/javascript" src="[% interface %]/js/browser.js"></script>
238 <script type="text/javascript">
240 var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
243 function activate_filters(id) {
244 var table = $("#" + id + " table");
245 if (table.length == 1) {
246 filters_row = table.find('thead tr.filters_row');
249 filters_row.find('th').each(function() {
250 if(this.className === "NoSort"){
251 aoColumns.push(null);
253 aoColumns.push('text');
257 if (table.find('thead tr.columnFilter').length == 0) {
258 table.dataTable().columnFilter({
259 'sPlaceHolder': 'head:after'
260 , 'aoColumns': aoColumns
262 filters_row.addClass('columnFilter');
267 $('#' + id + '_activate_filters')
268 .html('<i class="fa fa-filter"></i> ' + _("Deactivate filters") )
271 deactivate_filters(id);
276 function deactivate_filters(id) {
277 filters_row = $("#" + id + " table").find('thead tr.filters_row');
279 filters_row.find('input[type="text"]')
280 .val('') // Empty filter text boxes
281 .trigger('keyup') // Filter (display all rows)
282 .trigger('blur'); // Reset value to the column name
285 $('#' + id + '_activate_filters')
286 .html('<i class="fa fa-filter"></i> ' + _("Activate filters") )
289 activate_filters(id);
294 $(document).ready(function() {
295 var ids = ['holdings', 'otherholdings'];
298 var table = $('#' + id + ' table');
300 // Duplicate the table header row for columnFilter
301 thead_row = table.find('thead tr');
302 clone = thead_row.clone().addClass('filters_row');
303 clone.find("th.NoSort").html('');
304 thead_row.before(clone);
307 table.dataTable($.extend(true, {}, dataTablesDefaults, {
312 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }
316 // Show a link to activate filtering
319 .attr('id', id + '_activate_filters');
320 $("." + id + "_table_controls").prepend(link);
321 deactivate_filters(id);
323 [% IF Koha.Preference('AcquisitionDetails') %]
324 $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
328 "aaSorting": [[ 4, "desc" ]],
330 { "aTargets": "title-string", "sType": "title-string" }
340 <body id="catalog_detail" class="catalog">
342 [% INCLUDE 'header.inc' %]
343 [% INCLUDE 'cat-search.inc' %]
345 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
346 [% IF ( unknownbiblionumber ) %]
349 Details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</i>
353 <div id="doc3" class="yui-t2">
355 [% IF ( unknownbiblionumber ) %]
356 <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
362 [% INCLUDE 'cat-toolbar.inc' %]
364 <!-- COinS / OpenURL -->
365 <span class="Z3988" title="[% ocoins %]"></span>
368 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
369 [% IF ( XSLTDetailsDisplay ) %]
371 <div id="catalogue_detail_biblio" class="yui-u first">
374 <div id="catalogue_detail_biblio" class="yui-u first">
377 [% IF ( XSLTDetailsDisplay ) %]
379 <div id="catalogue_detail_biblio">
382 <div id="catalogue_detail_biblio" class="yui-u first">
386 [% IF ( XSLTDetailsDisplay ) %]
389 [% IF shelves.count %]
390 <span class="results_summary"><span class="label">Lists that include this title: </span>
391 [% FOREACH s IN shelves %]
392 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a>
393 [% IF ( loop.last ) %][% ELSE %]|[% END %]
397 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
398 <span class="results_summary"><span class="label">Tags:</span>
399 [% FOREACH TagLoo IN TagLoop %]
400 [% IF ( CAN_user_tools_moderate_tags ) %]
401 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
403 [% TagLoo.term |html %]
405 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
409 <span id="catalogue_detail_marc_preview" class="results_summary"><span class="label">MARC Preview:</span> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]&viewas=html" title="MARC" class="previewMARC">Show</a></span>
411 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
412 </div><div class="yui-u" id="bookcoverimg">
413 [% IF ( LocalCoverImages ) %]
414 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
416 [% IF ( AmazonCoverImages ) %]
417 <div id="amazon-bookcoverimg">
418 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
419 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
425 <h3>[% title |html %]</h3>
426 [% FOREACH subtitl IN subtitle %]
427 <h4>[% subtitl.subfield %]</h4>
429 [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% translated_description %]" title="[% translated_description %]">[% END %]
430 [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
431 [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author | html %]</a></p>[% END %]
433 [% IF ( MARCAUTHORS ) %]
434 <li><strong>Additional authors:</strong><ul>
435 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
436 <li>[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator %]<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value |url %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value | html %]</a>[% END %]</li>
442 [% IF ( MARCSERIES ) %]
443 <li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
444 <li>[% FOREACH MARCSERIES_SUBFIELDS_LOO IN MARCSERIE.MARCSERIES_SUBFIELDS_LOOP %] [% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %]<a href="/cgi-bin/koha/catalogue/search.pl?q=se:[% MARCSERIES_SUBFIELDS_LOO.value |url %]">[% MARCSERIES_SUBFIELDS_LOO.value %]</a>[% END %][% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %]. [% MARCSERIES_SUBFIELDS_LOO.volumenum %][% END %][% END %]</li>
449 [% IF ( publishercode ) %]
450 <li><strong>Published by:</strong>
451 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
452 [% publishercode |html %]
453 </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsability ) %][% editionresponsability %][% END %]
456 <li><strong>Description:</strong>
457 [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %]
458 [% IF ( size ) %][% size %][% END %]
460 [% IF ( MARCURLS ) %]<li>
462 <strong>Online resources:</strong>
463 <ul> [% FOREACH MARCurl IN MARCURLS %]
464 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
466 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
467 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">[% MARCurl.linktext %]</a>
468 [% IF ( MARCurl.notes ) %]<ul>[% FOREACH note IN MARCurl.notes %]<li>[% note.note %]</li>[% END %]</ul>[% END %]</li>
473 [% IF ( OPACBaseURL ) %]
474 <li><strong>OPAC view:</strong>
475 <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a>
478 <li id="catalogue_detail_marc_preview">
479 <strong>MARC Preview:</strong>
480 <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a>
485 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
486 <div class="yui-u" id="bookcoverimg">
487 [% IF ( LocalCoverImages ) %]
488 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
490 [% IF ( AmazonCoverImages ) %]
491 <div id="amazon-bookcoverimg">
492 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
493 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
500 <div class="yui-u" style="margin-top: 1em;">
502 [% IF ( MARCISBNS ) %]
503 <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN %]</li>[% END %]</ul></li>
505 [% IF ( normalized_isbn ) %]
506 <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
510 <li><strong>ISSN:</strong>[% issn %]</li>
512 [% IF ( collectiontitle ) %]
513 <li><strong>Collection: </strong>
514 [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn %])[% END %]
517 [% IF ( MARCSUBJCTS ) %]
518 <li><strong>Subjects:</strong>
520 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
521 <li>[% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] [% MARCSUBJECT_SUBFIELDS_LOO.separator %] <a title="‡[% MARCSUBJECT_SUBFIELDS_LOO.code %] [% MARCSUBJECT_SUBFIELDS_LOO.value %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCSUBJECT_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCSUBJECT_SUBFIELDS_LOO.value |html %]</a>[% END %]</li>
526 [% IF ( copyrightdate ) %]
527 <li><strong>Copyright:</strong> [% copyrightdate %]</li>
530 [% IF ( classification ) %]
531 <li><strong>Classification:</strong> [% subclass %][% classification %]</li>
534 <li><strong>Dewey:</strong> [% dewey %]</li>
537 <li><strong>url:</strong>
538 [% FOREACH url IN urlS %]
539 <a href="[% url.url %]">[% url.url %]</a>
543 <!--This grabs all of the lists a bib record appears in -->
544 [% IF shelves.count %]
545 <li><strong>Lists that include this title: </strong>
547 [% FOREACH s IN shelves %]
548 <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></li>
553 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
554 <li><strong>Tags:</strong>
556 [% FOREACH TagLoo IN TagLoop %]
558 [% IF ( CAN_user_tools_moderate_tags ) %]
559 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
561 [% TagLoo.term |html %]
563 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
567 [% IF ( holdcount ) %]<li><strong>Holds:</strong> <span class="holdcount"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></li>[% ELSE %][% END %]
573 <div id="bibliodetails" class="toptabs">
576 [% IF (SeparateHoldings) %]
577 <li><a href="#holdings">[% LoginBranchname %] holdings</a></li>
578 <li><a href="#otherholdings">Other holdings</a></li>
580 <li><a href="#holdings">Holdings</a></li>
582 [% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %]
583 [% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
584 [% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
585 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %]
586 [% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %]
587 [% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %]
588 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
589 <li class="NovelistSelect" style="display:none;"><a href="#NovelistSelect">NoveList Select</a></li>
593 [% items_table_block_iter = 0 %]
594 [% BLOCK items_table %]
595 [% items_table_block_iter = items_table_block_iter + 1 %]
596 <div class="[% tab %]_table_controls">
597 [% IF (StaffDetailItemSelection) %]
598 | <a href="#" class="SelectAll" data-tab="[% tab %]"><i class="fa fa-check"></i> Select all</a> |
599 <a href="#" class="ClearAll" data-tab="[% tab %]"><i class="fa fa-remove"></i> Clear all</a>
600 <span class="itemselection_actions">
602 [% IF CAN_user_tools_items_batchdel %]
603 <a class="itemselection_action_delete"><i class="fa fa-trash"></i> Delete selected items</a>
605 [% IF CAN_user_tools_items_batchmod %]
606 <a class="itemselection_action_modify"><i class="fa fa-pencil"></i> Modify selected items</a>
611 <table class="items_table">
614 [% IF (StaffDetailItemSelection) %]<th class="NoSort"></th>[% END %]
615 [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %]
616 <th>Current location</th>
617 <th>Home library</th>
618 [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
623 [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %]
624 [% IF ( itemdata_uri ) %]<th>url</th>[% END %]
625 [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
626 [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %]
627 [% IF materials %]<th>Materials specified</th>[% END %]
628 [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
629 [% IF ( itemdata_nonpublicnotes ) %]<th>Non-public notes</th>[% END %]
630 [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
631 [% IF ( hostrecords ) %]<th>Host records</th>[% END %]
632 [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
633 [% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %]
634 [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort"> </th>[% END %]
638 [% FOREACH item IN items %]
640 [% IF (StaffDetailItemSelection) %]
641 <td style="text-align:center;vertical-align:middle">
642 <input type="checkbox" value="[% item.itemnumber %]" name="itemnumber" />
645 [% IF ( item_level_itypes ) %]
647 [% IF !noItemTypeImages && item.imageurl %]
648 <img src="[% item.imageurl %]" alt="[% item.translated_description %]" title="[% item.translated_description %]" />
650 [% item.translated_description %]
653 <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) %] [% END %]</td>
654 <td class="homebranch">[% Branches.GetName(item.homebranch) %]<span class="shelvingloc">[% item.location %]</span> </td>
655 [% IF ( itemdata_ccode ) %]<td>[% item.ccode %]</td>[% END %]
656 <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber %][% END %]</td>
659 [% IF ( item.datedue ) %]
660 [% IF item.onsite_checkout %]
661 <span>Currently in local use
663 <span class="datedue">Checked out
665 [% UNLESS ( item.NOTSAMEBRANCH ) %]
666 [% IF item.onsite_checkout %]
667 by <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
669 to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
671 [% IF ( item.hidepatronname ) %]
672 [% item.cardnumber %]
674 [% item.firstname %] [% item.surname %]
678 : due [% item.datedue %]
680 [% ELSIF ( item.transfertwhen ) %]
681 <span class="intransit">In transit from [% Branches.GetName( item.transfertfrom ) %] to [% Branches.GetName( item.transfertto ) %] since [% item.transfertwhen | $KohaDates %]</span>
684 [% IF ( item.itemlost ) %]
685 [% IF itemlostloop %]
686 [% FOREACH itemlostloo IN itemlostloop %]
687 [% IF itemlostloo.authorised_value == item.itemlost %]
688 <span class="lost">[% itemlostloo.lib %]</span>
692 <span class="lost">Unavailable (lost or missing)</span>
696 [% IF ( item.withdrawn ) %]
697 <span class="wdn">Withdrawn</span>
700 [% IF ( item.damaged ) %]
701 [% IF itemdamagedloop %]
702 [% FOREACH itemdamagedloo IN itemdamagedloop %]
703 [% IF itemdamagedloo.authorised_value == item.damaged %]
704 <span class="dmg">[% itemdamagedloo.lib %]</span>
708 <span class="dmg">Damaged</span>
712 [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
714 [% IF ( item.notforloanvalue ) %]
715 ([% item.notforloanvalue %])
719 [% IF ( item.reservedate ) %]
720 [% IF ( item.waitingdate ) %]
721 Waiting at [% Branches.GetName( item.ExpectedAtLibrary ) %] since [% item.waitingdate | $KohaDates %].
723 Item-level hold (placed [% item.reservedate | $KohaDates %]) for delivery at [% Branches.GetName( item.ExpectedAtLibrary ) %].
725 [% IF ( canreservefromotherbranches ) %]
726 Hold for: <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.ReservedForBorrowernumber %]">
727 [% IF ( item.hidepatronname ) %]
728 [% item.Reservedcardnumber %]
730 [% item.ReservedForFirstname _ " " _ item.ReservedForSurname _ " (" _ item.Reservedcardnumber _ ")" %]
735 [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || item.reservedate ) %]
739 [% IF ( item.restricted ) %]
740 <span class="restricted">([% item.restricted %])</span>
744 <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td>
745 <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% item.type %]&itemnumber=[% item.itemnumber %]&biblionumber=[% item.biblionumber %]&bi=[% item.biblioitemnumber %]#item[% item.itemnumber %]">[% item.barcode %]</a></td>
747 <td class="enumchron">
748 [% IF ( itemdata_enumchron ) %]
749 [% IF item.enumchron && item.serialseq %]
750 <span class="enum">[% item.enumchron %]</span>
751 [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
752 <span class="sep"> -- </span>
753 <span class="serialseq">[% item.serialseq %]</span>
755 [% ELSIF item.enumchron %]
756 <span class="enum">[% item.enumchron %]</span>
757 [% ELSIF item.serialseq %]
758 <span class="serialseq">[% item.serialseq %]</span>
760 [% IF ( item.publisheddate ) %]
761 <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
766 [% IF ( itemdata_uri ) %]
767 <td class="uri"><a href="[% item.uri %]">[% item.uri %]</a></td>
769 [% IF ( itemdata_copynumber ) %]
770 <td class="copynumber">[% item.copynumber %]</td>
772 [% IF ( itemdata_stocknumber ) %]
773 <td class="stocknumber">[% item.stocknumber %]</td>
776 <td class="materials"> [% item.materials %] </td>
778 [% IF ( itemdata_itemnotes ) %]
779 <td><div class="itemnotes">[% item.itemnotes %]</div></td>
781 [% IF itemdata_nonpublicnotes %]
782 <td class="nonpublicnote">[% item.itemnotes_nonpublic %]</td>
784 [% IF ( SpineLabelShowPrintOnBibDetails ) %]
785 <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]" >Print label</a></td>
787 [% IF ( hostrecords ) %]
788 <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]" >[% item.hosttitle %]</a>[% END %]</td>
792 [% IF ( item.countanalytics ) %]
793 <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] analytics</a>
798 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">Create analytics</a></td>
801 [% IF ShowCourseReserves %]
803 [% IF item.course_reserves %]
804 [% FOREACH r IN item.course_reserves %]
805 [% IF r.course.enabled == 'yes' %]
807 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% r.course.course_id %]">
808 [% r.course.course_name %]
809 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
810 [% IF r.course.section %] [% r.course.section %] [% END %]
811 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
819 [% IF CAN_user_editcatalogue_edit_items %]
821 [% UNLESS item.cannot_be_edited %]
822 <a class="btn btn-mini" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]#edititem"><i class="fa fa-pencil"></i> Edit</a>
830 [% END %][%# end of block items_table %]
834 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %]
835 <span class="results_summary NovelistSelect" style="display:none;">
836 <span class="label">Novelist Select: </span>
837 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
842 [% IF ( showncount ) %]
843 [% PROCESS items_table tab="holdings" items=itemloop %]
845 [% IF ( hiddencount ) %]
846 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">Show all items ([% hiddencount %] hidden)</a>
848 [% IF ( debug_display ) %]
851 <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr>
852 <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr>
853 <tr><td>serial</td><td>[% serial %]</td></tr>
857 [% IF ( ALTERNATEHOLDINGS ) %]
858 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
859 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
862 <div id="noitems">No physical items for this record</div>
866 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %]
867 <span class="results_summary NovelistSelect" style="display:none;">
868 <span class="label">Novelist Select: </span>
869 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
874 [% IF (SeparateHoldings) %]
875 <div id="otherholdings">
876 [% IF (otheritemloop.size) %]
877 [% PROCESS items_table tab="otherholdings" items=otheritemloop %]
884 [% IF ( MARCNOTES || notes ) %]
886 <div id="description">
887 <div class="content_set">
889 [% IF ( MARCNOTES ) %]
890 [% FOREACH MARCNOTE IN MARCNOTES %]
892 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
893 <a href="[% MARCNOTE.marcnote %]">[% MARCNOTE.marcnote %]</a>
895 [% MARCNOTE.marcnote FILTER html_line_break %]
909 [% IF ( subscriptionsnumber ) %]
910 <div id="subscriptions">
912 <div id="catalogue_detail_subscriptions">
913 <h2>This is a serial subscription</h2>
914 <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p>
915 [% FOREACH subscription IN subscriptions %]
916 [% IF subscription.branchcode %]
917 <h3>At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode %]</h3>
919 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
920 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %] </p>[% END %]
921 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
922 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
923 [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %]
924 [% IF ( subscription.latestserials ) %]
925 <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p>
929 <th>Date arrived</th>
930 <th>Date published</th>
934 [% FOREACH latestserial IN subscription.latestserials %]
936 <td>[% latestserial.serialseq %]</td>
937 <td>[% latestserial.planneddate %]</td>
938 <td>[% latestserial.publisheddate%]</td>
940 [% IF ( latestserial.status1 ) %]Expected[% END %]
941 [% IF ( latestserial.status2 ) %]Arrived[% END %]
942 [% IF ( latestserial.status3 ) %]Late[% END %]
943 [% IF ( latestserial.status4 ) %]Missing[% END %]
944 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
945 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
946 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
947 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
948 [% IF ( latestserial.status5 ) %]Not issued[% END %]
949 [% IF ( latestserial.status6 ) %]Delete[% END %]
950 [% IF ( latestserial.status7 ) %]Claimed[% END %]
951 [% IF ( latestserial.status8 ) %]Stopped[% END %]
953 <td>[% latestserial.notes %]</td>
958 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription details</a>
965 [% IF Koha.Preference('AcquisitionDetails') %]
966 <div id="acq_details">
972 <th>Basket group</th>
974 <th>Order number</th>
975 <th class="title-string">Creation date</th>
976 <th class="title-string">Receive date</th>
982 [% FOR order IN orders %]
986 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="Vendor detail page">[% order.name %]</a>
990 [% IF (order.basketgroupid) %]
991 [% IF CAN_user_acquisition_group_manage %]
992 <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.id %]&basketgroupid=[% order.basketgroupid %]">[% order.groupname %] ([% order.basketgroupid %])</a>
994 [% order.groupname %] ([% order.basketgroupid %])
998 <td>[% IF CAN_user_acquisition_order_manage %]
999 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %] ([% order.basketno %])</a>
1001 [% order.basketname %] ([% order.basketno %])
1003 <td>[% order.ordernumber %]</td>
1004 <td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td>
1005 <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
1007 [% SWITCH order.orderstatus %]
1009 [% CASE 'ordered' %]Ordered
1010 [% CASE 'partial' %]Partial
1011 [% CASE 'complete' %]Complete
1012 [% CASE 'cancelled' %]Cancelled
1015 <td>[% order.quantity %]</td>
1021 There is no order for this biblio.
1026 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
1027 <div id="editions"><h4>Editions</h4>
1029 [% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn %].01._AA75_PU_PU-5_.jpg" /></a></td>[% END %]
1030 [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
1031 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author | html %] ©[% XISBN.copyrightdate %]
1032 [% IF ( XISBN.publishercode ) %]
1033 [% XISBN.publishercode %] [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement %][% END %] [% IF ( XISBN.editionresponsability ) %][% XISBN.editionresponsability %][% END %]
1035 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages %] [% IF ( XISBN.illus ) %][% XISBN.illus %][% END %]
1036 [% IF ( XISBN.size ) %], [% END %][% XISBN.size %]
1040 </table></div>[% END %]
1043 [% IF ( LocalCoverImages ) %]
1045 [% IF ( localimages.0 ) %]
1046 <p>Click on an image to view it in the image viewer</p>
1047 <ul class="thumbnails">
1048 [% FOREACH image IN localimages %]
1050 <li id="imagenumber-[% image %]">
1051 <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]">
1052 <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" />
1053 [% IF CAN_user_tools_upload_local_cover_images %]
1054 <span class="remove" title="remove this image">Delete image</span>
1061 [%# ELSE - No image passed JavaScript takes care %]
1066 [% IF ( HTML5MediaEnabled ) %]
1067 <div id="html5media">
1068 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1070 <[% HTML5MediaParent %] controls preload=none>
1071 <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
1072 [[% HTML5MediaParent %] tag not supported by your browser.]
1073 </[% HTML5MediaParent %]>
1080 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
1081 <div id="NovelistSelect" class="novelistSelect">
1082 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
1086 </div><!-- /bibliodetails -->
1088 <div class="yui-g" id="export" style="margin-top: 1em;">
1089 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
1091 <th>Save Record</th> </tr>
1092 <tr><td> Select download format: <select name="format">
1093 <option value="mods">MODS (XML)</option>
1094 <option data-toggle="modal" data-target="#exportModal_">Dublin Core</option>
1095 <option value="marcxml">MARCXML</option>
1096 <option value="marc8">MARC (non-Unicode/MARC-8)</option>
1097 <option value="utf8">MARC (Unicode/UTF-8)</option> </select>
1098 <input type="submit" name="save" value="Download Record" /></td>
1101 <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber %]" />
1107 <div id="marcPreview" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
1108 <div class="modal-header">
1109 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
1110 <h3 id="marcPreviewLabel">MARC preview</h3>
1112 <div class="modal-body">
1113 <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
1115 <div class="modal-footer">
1116 <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
1123 [% INCLUDE 'biblio-view-menu.inc' %]
1128 [% INCLUDE 'intranet-bottom.inc' %]