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 %][% 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();
177 $('#search-form').focus();
178 $('.thumbnails > li > a > span.remove').click(function() {
179 var result = confirm(_("Are you sure you want to delete this cover image?"));
181 if ( result == true ) {
182 var imagenumber = $(this).parent().parent().attr('id').split('-')[1];
183 removeLocalImage(imagenumber);
188 [%# inject no images message %]
189 [% IF ( LocalCoverImages && ! localimages.0 ) %]
190 showNoImageMessage();
192 [% IF LocalCoverImages %]
193 KOHA.LocalCover.GetCoverFromBibnumber(true);
195 $("body").on("click",".previewMARC", function(e){
197 var page = $(this).attr("href");
198 $("#marcPreview .modal-body").load(page + " table");
199 $('#marcPreview').modal({show:true});
201 $("#marcPreview").on("hidden", function(){
202 $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
204 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
205 novSelect.loadContentForQuery(
207 ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
208 ISBN : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
211 '[% Koha.Preference('NovelistSelectProfile') %]',
212 '[% Koha.Preference('NovelistSelectPassword') %]',
214 if ( d.length > 0 ){ //If no content
215 $(".NovelistSelect").show();
222 [% IF ( AmazonCoverImages || LocalCoverImages ) %]$(window).load(function() {
227 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
228 [% INCLUDE 'datatables.inc' %]
229 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script>
230 [% INCLUDE 'browser-strings.inc' %]
232 <script type="text/javascript" src="[% interface %]/lib/shims/json2.min.js"></script>
234 <script type="text/javascript" src="[% interface %]/js/browser.js"></script>
235 <script type="text/javascript">
237 var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
240 function activate_filters(id) {
241 var table = $("#" + id + " table");
242 if (table.length == 1) {
243 filters_row = table.find('thead tr.filters_row');
246 filters_row.find('th').each(function() {
247 if(this.className === "NoSort"){
248 aoColumns.push(null);
250 aoColumns.push('text');
254 if (table.find('thead tr.columnFilter').length == 0) {
255 table.dataTable().columnFilter({
256 'sPlaceHolder': 'head:after'
257 , 'aoColumns': aoColumns
259 filters_row.addClass('columnFilter');
264 $('#' + id + '_activate_filters')
265 .html('<i class="fa fa-filter"></i> ' + _("Deactivate filters") )
268 deactivate_filters(id);
273 function deactivate_filters(id) {
274 filters_row = $("#" + id + " table").find('thead tr.filters_row');
276 filters_row.find('input[type="text"]')
277 .val('') // Empty filter text boxes
278 .trigger('keyup') // Filter (display all rows)
279 .trigger('blur'); // Reset value to the column name
282 $('#' + id + '_activate_filters')
283 .html('<i class="fa fa-filter"></i> ' + _("Activate filters") )
286 activate_filters(id);
291 $(document).ready(function() {
292 var ids = ['holdings', 'otherholdings'];
295 var table = $('#' + id + ' table');
297 // Duplicate the table header row for columnFilter
298 thead_row = table.find('thead tr');
299 clone = thead_row.clone().addClass('filters_row');
300 clone.find("th.NoSort").html('');
301 thead_row.before(clone);
304 table.dataTable($.extend(true, {}, dataTablesDefaults, {
309 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }
313 // Show a link to activate filtering
316 .attr('id', id + '_activate_filters');
317 $("." + id + "_table_controls").prepend(link);
318 deactivate_filters(id);
320 [% IF Koha.Preference('AcquisitionDetails') %]
321 $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
325 "aaSorting": [[ 4, "desc" ]],
327 { "aTargets": "title-string", "sType": "title-string" }
337 <body id="catalog_detail" class="catalog">
339 [% INCLUDE 'header.inc' %]
340 [% INCLUDE 'cat-search.inc' %]
342 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
343 [% IF ( unknownbiblionumber ) %]
346 Details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i>
350 <div id="doc3" class="yui-t2">
352 [% IF ( unknownbiblionumber ) %]
353 <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
359 [% INCLUDE 'cat-toolbar.inc' %]
361 <!-- COinS / OpenURL -->
362 <span class="Z3988" title="[% ocoins %]"></span>
365 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
366 [% IF ( XSLTDetailsDisplay ) %]
368 <div id="catalogue_detail_biblio" class="yui-u first">
371 <div id="catalogue_detail_biblio" class="yui-u first">
374 [% IF ( XSLTDetailsDisplay ) %]
376 <div id="catalogue_detail_biblio">
379 <div id="catalogue_detail_biblio" class="yui-u first">
383 [% IF ( XSLTDetailsDisplay ) %]
386 [% IF shelves.count %]
387 <span class="results_summary"><span class="label">Lists that include this title: </span>
388 [% FOREACH s IN shelves %]
389 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a>
390 [% IF ( loop.last ) %][% ELSE %]|[% END %]
394 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
395 <span class="results_summary"><span class="label">Tags:</span>
396 [% FOREACH TagLoo IN TagLoop %]
397 [% IF ( CAN_user_tools_moderate_tags ) %]
398 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
400 [% TagLoo.term |html %]
402 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
406 <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>
408 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
409 </div><div class="yui-u" id="bookcoverimg">
410 [% IF ( LocalCoverImages ) %]
411 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
413 [% IF ( AmazonCoverImages ) %]
414 <div id="amazon-bookcoverimg">
415 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
416 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
422 <h3>[% title |html %]</h3>
423 [% FOREACH subtitl IN subtitle %]
424 <h4>[% subtitl.subfield %]</h4>
426 [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% translated_description %]" title="[% translated_description %]">[% END %]
427 [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
428 [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author %]</a></p>[% END %]
430 [% IF ( MARCAUTHORS ) %]
431 <li><strong>Additional authors:</strong><ul>
432 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
433 <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 %]</a>[% END %]</li>
439 [% IF ( MARCSERIES ) %]
440 <li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
441 <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>
446 [% IF ( publishercode ) %]
447 <li><strong>Published by:</strong>
448 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
449 [% publishercode |html %]
450 </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsability ) %][% editionresponsability %][% END %]
453 <li><strong>Description:</strong>
454 [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %]
455 [% IF ( size ) %][% size %][% END %]
457 [% IF ( MARCURLS ) %]<li>
459 <strong>Online resources:</strong>
460 <ul> [% FOREACH MARCurl IN MARCURLS %]
461 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
463 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
464 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">[% MARCurl.linktext %]</a>
465 [% IF ( MARCurl.notes ) %]<ul>[% FOREACH note IN MARCurl.notes %]<li>[% note.note %]</li>[% END %]</ul>[% END %]</li>
470 [% IF ( OPACBaseURL ) %]
471 <li><strong>OPAC view:</strong>
472 <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a>
475 <li id="catalogue_detail_marc_preview">
476 <strong>MARC Preview:</strong>
477 <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a>
482 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
483 <div class="yui-u" id="bookcoverimg">
484 [% IF ( LocalCoverImages ) %]
485 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
487 [% IF ( AmazonCoverImages ) %]
488 <div id="amazon-bookcoverimg">
489 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
490 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
497 <div class="yui-u" style="margin-top: 1em;">
499 [% IF ( MARCISBNS ) %]
500 <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN %]</li>[% END %]</ul></li>
502 [% IF ( normalized_isbn ) %]
503 <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
507 <li><strong>ISSN:</strong>[% issn %]</li>
509 [% IF ( collectiontitle ) %]
510 <li><strong>Collection: </strong>
511 [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn %])[% END %]
514 [% IF ( MARCSUBJCTS ) %]
515 <li><strong>Subjects:</strong>
517 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
518 <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>
523 [% IF ( copyrightdate ) %]
524 <li><strong>Copyright:</strong> [% copyrightdate %]</li>
527 [% IF ( classification ) %]
528 <li><strong>Classification:</strong> [% subclass %][% classification %]</li>
531 <li><strong>Dewey:</strong> [% dewey %]</li>
534 <li><strong>url:</strong>
535 [% FOREACH url IN urlS %]
536 <a href="[% url.url %]">[% url.url %]</a>
540 <!--This grabs all of the lists a bib record appears in -->
541 [% IF shelves.count %]
542 <li><strong>Lists that include this title: </strong>
544 [% FOREACH s IN shelves %]
545 <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></li>
550 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
551 <li><strong>Tags:</strong>
553 [% FOREACH TagLoo IN TagLoop %]
555 [% IF ( CAN_user_tools_moderate_tags ) %]
556 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
558 [% TagLoo.term |html %]
560 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
564 [% 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 %]
570 <div id="bibliodetails" class="toptabs">
573 [% IF (SeparateHoldings) %]
574 <li><a href="#holdings">[% LoginBranchname %] holdings</a></li>
575 <li><a href="#otherholdings">Other holdings</a></li>
577 <li><a href="#holdings">Holdings</a></li>
579 [% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %]
580 [% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
581 [% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
582 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %]
583 [% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %]
584 [% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %]
585 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
586 <li class="NovelistSelect" style="display:none;"><a href="#NovelistSelect">NoveList Select</a></li>
590 [% items_table_block_iter = 0 %]
591 [% BLOCK items_table %]
592 [% items_table_block_iter = items_table_block_iter + 1 %]
593 <div class="[% tab %]_table_controls">
594 [% IF (StaffDetailItemSelection) %]
595 | <a href="#" class="SelectAll" data-tab="[% tab %]"><i class="fa fa-check"></i> Select all</a> |
596 <a href="#" class="ClearAll" data-tab="[% tab %]"><i class="fa fa-remove"></i> Clear all</a>
597 <span class="itemselection_actions">
599 [% IF CAN_user_tools_items_batchdel %]
600 <a class="itemselection_action_delete"><i class="fa fa-trash"></i> Delete selected items</a>
602 [% IF CAN_user_tools_items_batchmod %]
603 <a class="itemselection_action_modify"><i class="fa fa-pencil"></i> Modify selected items</a>
608 <table class="items_table">
611 [% IF (StaffDetailItemSelection) %]<th class="NoSort"></th>[% END %]
612 [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %]
613 <th>Current location</th>
614 <th>Home library</th>
615 [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
620 [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %]
621 [% IF ( itemdata_uri ) %]<th>url</th>[% END %]
622 [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
623 [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %]
624 [% IF materials %]<th>Materials specified</th>[% END %]
625 [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
626 [% IF ( itemdata_nonpublicnotes ) %]<th>Non-public notes</th>[% END %]
627 [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
628 [% IF ( hostrecords ) %]<th>Host records</th>[% END %]
629 [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
630 [% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %]
631 [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort"> </th>[% END %]
635 [% FOREACH item IN items %]
637 [% IF (StaffDetailItemSelection) %]
638 <td style="text-align:center;vertical-align:middle">
639 <input type="checkbox" value="[% item.itemnumber %]" name="itemnumber" />
642 [% IF ( item_level_itypes ) %]
644 [% IF !noItemTypeImages && item.imageurl %]
645 <img src="[% item.imageurl %]" alt="[% item.translated_description %]" title="[% item.translated_description %]" />
647 [% item.translated_description %]
650 <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) %] [% END %]</td>
651 <td class="homebranch">[% Branches.GetName(item.homebranch) %]<span class="shelvingloc">[% item.location %]</span> </td>
652 [% IF ( itemdata_ccode ) %]<td>[% item.ccode %]</td>[% END %]
653 <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber %][% END %]</td>
656 [% IF ( item.datedue ) %]
657 [% IF item.onsite_checkout %]
658 <span>Currently in local use
660 <span class="datedue">Checked out
662 [% UNLESS ( item.NOTSAMEBRANCH ) %]
663 [% IF item.onsite_checkout %]
664 by <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
666 to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
668 [% IF ( item.hidepatronname ) %]
669 [% item.cardnumber %]
671 [% item.firstname %] [% item.surname %]
675 : due [% item.datedue %]
677 [% ELSIF ( item.transfertwhen ) %]
678 <span class="intransit">In transit from [% Branches.GetName( item.transfertfrom ) %] to [% Branches.GetName( item.transfertto ) %] since [% item.transfertwhen | $KohaDates %]</span>
681 [% IF ( item.itemlost ) %]
682 [% IF itemlostloop %]
683 [% FOREACH itemlostloo IN itemlostloop %]
684 [% IF itemlostloo.authorised_value == item.itemlost %]
685 <span class="lost">[% itemlostloo.lib %]</span>
689 <span class="lost">Unavailable (lost or missing)</span>
693 [% IF ( item.withdrawn ) %]
694 <span class="wdn">Withdrawn</span>
697 [% IF ( item.damaged ) %]
698 [% IF itemdamagedloop %]
699 [% FOREACH itemdamagedloo IN itemdamagedloop %]
700 [% IF itemdamagedloo.authorised_value == item.damaged %]
701 <span class="dmg">[% itemdamagedloo.lib %]</span>
705 <span class="dmg">Damaged</span>
709 [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
711 [% IF ( item.notforloanvalue ) %]
712 ([% item.notforloanvalue %])
716 [% IF ( item.reservedate ) %]
717 [% IF ( item.waitingdate ) %]
718 Waiting at [% Branches.GetName( item.ExpectedAtLibrary ) %] since [% item.waitingdate | $KohaDates %].
720 Item-level hold (placed [% item.reservedate | $KohaDates %]) for delivery at [% Branches.GetName( item.ExpectedAtLibrary ) %].
722 [% IF ( canreservefromotherbranches ) %]
723 Hold for: <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.ReservedForBorrowernumber %]">
724 [% IF ( item.hidepatronname ) %]
725 [% item.Reservedcardnumber %]
727 [% item.ReservedForFirstname _ " " _ item.ReservedForSurname _ " (" _ item.Reservedcardnumber _ ")" %]
732 [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || item.reservedate ) %]
736 [% IF ( item.restricted ) %]
737 <span class="restricted">([% item.restricted %])</span>
741 <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td>
742 <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>
744 <td class="enumchron">
745 [% IF ( itemdata_enumchron ) %]
746 [% IF item.enumchron && item.serialseq %]
747 <span class="enum">[% item.enumchron %]</span>
748 [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
749 <span class="sep"> -- </span>
750 <span class="serialseq">[% item.serialseq %]</span>
752 [% ELSIF item.enumchron %]
753 <span class="enum">[% item.enumchron %]</span>
754 [% ELSIF item.serialseq %]
755 <span class="serialseq">[% item.serialseq %]</span>
757 [% IF ( item.publisheddate ) %]
758 <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
763 [% IF ( itemdata_uri ) %]
764 <td class="uri"><a href="[% item.uri %]">[% item.uri %]</a></td>
766 [% IF ( itemdata_copynumber ) %]
767 <td class="copynumber">[% item.copynumber %]</td>
769 [% IF ( itemdata_stocknumber ) %]
770 <td class="stocknumber">[% item.stocknumber %]</td>
773 <td class="materials"> [% item.materials %] </td>
775 [% IF ( itemdata_itemnotes ) %]
776 <td><div class="itemnotes">[% item.itemnotes %]</div></td>
778 [% IF itemdata_nonpublicnotes %]
779 <td class="nonpublicnote">[% item.itemnotes_nonpublic %]</td>
781 [% IF ( SpineLabelShowPrintOnBibDetails ) %]
782 <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]" >Print label</a></td>
784 [% IF ( hostrecords ) %]
785 <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]" >[% item.hosttitle %]</a>[% END %]</td>
789 [% IF ( item.countanalytics ) %]
790 <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] analytics</a>
795 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">Create analytics</a></td>
798 [% IF ShowCourseReserves %]
800 [% IF item.course_reserves %]
801 [% FOREACH r IN item.course_reserves %]
802 [% IF r.course.enabled == 'yes' %]
804 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% r.course.course_id %]">
805 [% r.course.course_name %]
806 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
807 [% IF r.course.section %] [% r.course.section %] [% END %]
808 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
816 [% IF CAN_user_editcatalogue_edit_items %]
818 [% UNLESS item.cannot_be_edited %]
819 <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>
827 [% END %][%# end of block items_table %]
831 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %]
832 <span class="results_summary NovelistSelect" style="display:none;">
833 <span class="label">Novelist Select: </span>
834 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
839 [% IF ( showncount ) %]
840 [% PROCESS items_table tab="holdings" items=itemloop %]
842 [% IF ( hiddencount ) %]
843 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">Show all items ([% hiddencount %] hidden)</a>
845 [% IF ( debug_display ) %]
848 <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr>
849 <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr>
850 <tr><td>serial</td><td>[% serial %]</td></tr>
854 [% IF ( ALTERNATEHOLDINGS ) %]
855 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
856 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
859 <div id="noitems">No physical items for this record</div>
863 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %]
864 <span class="results_summary NovelistSelect" style="display:none;">
865 <span class="label">Novelist Select: </span>
866 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
871 [% IF (SeparateHoldings) %]
872 <div id="otherholdings">
873 [% IF (otheritemloop.size) %]
874 [% PROCESS items_table tab="otherholdings" items=otheritemloop %]
881 [% IF ( MARCNOTES || notes ) %]
883 <div id="description">
884 <div class="content_set">
886 [% IF ( MARCNOTES ) %]
887 [% FOREACH MARCNOTE IN MARCNOTES %]
889 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
890 <a href="[% MARCNOTE.marcnote %]">[% MARCNOTE.marcnote %]</a>
892 [% MARCNOTE.marcnote FILTER html_line_break %]
906 [% IF ( subscriptionsnumber ) %]
907 <div id="subscriptions">
909 <div id="catalogue_detail_subscriptions">
910 <h2>This is a serial subscription</h2>
911 <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p>
912 [% FOREACH subscription IN subscriptions %]
913 [% IF subscription.branchcode %]
914 <h3>At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode %]</h3>
916 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
917 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %] </p>[% END %]
918 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
919 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
920 [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %]
921 [% IF ( subscription.latestserials ) %]
922 <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p>
926 <th>Date arrived</th>
927 <th>Date published</th>
931 [% FOREACH latestserial IN subscription.latestserials %]
933 <td>[% latestserial.serialseq %]</td>
934 <td>[% latestserial.planneddate %]</td>
935 <td>[% latestserial.publisheddate%]</td>
937 [% IF ( latestserial.status1 ) %]Expected[% END %]
938 [% IF ( latestserial.status2 ) %]Arrived[% END %]
939 [% IF ( latestserial.status3 ) %]Late[% END %]
940 [% IF ( latestserial.status4 ) %]Missing[% END %]
941 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
942 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
943 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
944 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
945 [% IF ( latestserial.status5 ) %]Not issued[% END %]
946 [% IF ( latestserial.status6 ) %]Delete[% END %]
947 [% IF ( latestserial.status7 ) %]Claimed[% END %]
948 [% IF ( latestserial.status8 ) %]Stopped[% END %]
950 <td>[% latestserial.notes %]</td>
955 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription details</a>
962 [% IF Koha.Preference('AcquisitionDetails') %]
963 <div id="acq_details">
969 <th>Basket group</th>
971 <th>Order number</th>
972 <th class="title-string">Creation date</th>
973 <th class="title-string">Receive date</th>
979 [% FOR order IN orders %]
983 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="Vendor detail page">[% order.name %]</a>
987 [% IF (order.basketgroupid) %]
988 [% IF CAN_user_acquisition_group_manage %]
989 <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.id %]&basketgroupid=[% order.basketgroupid %]">[% order.groupname %] ([% order.basketgroupid %])</a>
991 [% order.groupname %] ([% order.basketgroupid %])
995 <td>[% IF CAN_user_acquisition_order_manage %]
996 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %] ([% order.basketno %])</a>
998 [% order.basketname %] ([% order.basketno %])
1000 <td>[% order.ordernumber %]</td>
1001 <td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td>
1002 <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
1004 [% SWITCH order.orderstatus %]
1006 [% CASE 'ordered' %]Ordered
1007 [% CASE 'partial' %]Partial
1008 [% CASE 'complete' %]Complete
1009 [% CASE 'cancelled' %]Cancelled
1012 <td>[% order.quantity %]</td>
1018 There is no order for this biblio.
1023 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
1024 <div id="editions"><h4>Editions</h4>
1026 [% 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 %]
1027 [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
1028 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author %] ©[% XISBN.copyrightdate %]
1029 [% IF ( XISBN.publishercode ) %]
1030 [% 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 %]
1032 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages %] [% IF ( XISBN.illus ) %][% XISBN.illus %][% END %]
1033 [% IF ( XISBN.size ) %], [% END %][% XISBN.size %]
1037 </table></div>[% END %]
1040 [% IF ( LocalCoverImages ) %]
1042 [% IF ( localimages.0 ) %]
1043 <p>Click on an image to view it in the image viewer</p>
1044 <ul class="thumbnails">
1045 [% FOREACH image IN localimages %]
1047 <li id="imagenumber-[% image %]">
1048 <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]">
1049 <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" />
1050 [% IF CAN_user_tools_upload_local_cover_images %]
1051 <span class="remove" title="remove this image">Delete image</span>
1058 [%# ELSE - No image passed JavaScript takes care %]
1063 [% IF ( HTML5MediaEnabled ) %]
1064 <div id="html5media">
1065 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1067 <[% HTML5MediaParent %] controls preload=none>
1068 <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
1069 [[% HTML5MediaParent %] tag not supported by your browser.]
1070 </[% HTML5MediaParent %]>
1077 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
1078 <div id="NovelistSelect" class="novelistSelect">
1079 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
1083 </div><!-- /bibliodetails -->
1085 <div class="yui-g" id="export" style="margin-top: 1em;">
1086 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
1088 <th>Save Record</th> </tr>
1089 <tr><td> Select download format: <select name="format">
1090 <option value="mods">MODS (XML)</option>
1091 <option data-toggle="modal" data-target="#exportModal_">Dublin Core</option>
1092 <option value="marcxml">MARCXML</option>
1093 <option value="marc8">MARC (non-Unicode/MARC-8)</option>
1094 <option value="utf8">MARC (Unicode/UTF-8)</option> </select>
1095 <input type="submit" name="save" value="Download Record" /></td>
1098 <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber %]" />
1104 <div id="marcPreview" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
1105 <div class="modal-header">
1106 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
1107 <h3 id="marcPreviewLabel">MARC preview</h3>
1109 <div class="modal-body">
1110 <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
1112 <div class="modal-footer">
1113 <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
1120 [% INCLUDE 'biblio-view-menu.inc' %]
1125 [% INCLUDE 'intranet-bottom.inc' %]