3 [% USE AuthorisedValues %]
7 [% IF Koha.Preference('AmazonAssocTag') %]
8 [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
10 [% AmazonAssocTag = '' %]
13 [% ShowCourseReserves = 0 %]
14 [% IF UseCourseReserves %]
15 [% FOREACH item IN itemloop %]
16 [% IF item.course_reserves %]
17 [% FOREACH r IN item.course_reserves %]
18 [% IF r.course.enabled == 'yes' %]
19 [% ShowCourseReserves = 1 %]
26 [% INCLUDE 'doc-head-open.inc' %]
27 [% INCLUDE 'greybox.inc' %]
28 <title>Koha › Catalog ›
29 [% IF ( unknownbiblionumber ) %]
32 Details for [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]
36 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
37 <script type="text/javascript" src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script>
40 [% INCLUDE 'doc-head-close.inc' %]<script type="text/JavaScript">
42 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
43 function verify_images() {
44 $("#bookcoverimg").each(function(i){
45 $(this).find('img').each(function(i){
46 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'))) {
49 if ((w == 1) || (h == 1)) {
50 $("#amazon-bookcoverimg").remove();
51 $(".yui-gb").attr("class","yui-g");
52 } else if ((this.complete != null) && (!this.complete)) {
53 $("#amazon-bookcoverimg").remove();
54 $(".yui-gb").attr("class","yui-g");
58 if( $(this).find('img').length < 1 ) $(this).remove();
60 $("#editions img").each(function(i){
61 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'))) {
64 if ((w == 1) || (h == 1)) {
65 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
66 } else if ((this.complete != null) && (!this.complete)) {
67 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
73 function removeLocalImage(imagenumber) {
76 url: "/cgi-bin/koha/svc/cover_images?action=delete&biblionumber=" + [% biblionumber %] + "&imagenumber=" + imagenumber,
77 success: function(data) {
78 $(data).each( function(i) {
79 if ( this.deleted == 1 ) {
80 $('#imagenumber-' + this.imagenumber).remove();
82 if ( $('ul.thumbnails > li').length == 0 ) {
87 error: function(data) {
88 alert(_("An error occurred on deleting this image"));
94 function showNoImageMessage() {
96 var no_images_msg = _("No images have been uploaded for this bibliographic record yet.");
97 no_images_msg = '<p>' + no_images_msg + '</p>';
98 [% IF ( CAN_user_tools_upload_local_cover_images ) %]
99 var please_upload = _("Please select the image file to upload. %sUpload%s").format(
100 "<a class='btn btn-default btn-xs' href='/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&filetype=image'><i class='fa fa-upload' aria-hidden='true'></i> ",
102 no_images_msg += "<p id='upload_image'>" + please_upload + '</p>';
105 $('#images').html(no_images_msg);
108 [% IF StaffDetailItemSelection %]
110 function itemSelectionBuildDeleteLink(div) {
111 var itemnumbers = new Array();
112 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
113 itemnumbers.push($(this).val());
115 if (itemnumbers.length > 0) {
116 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1';
117 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
118 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
119 $('a.itemselection_action_delete').attr('href', url);
126 function itemSelectionBuildModifyLink(div) {
127 var itemnumbers = new Array();
128 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
129 itemnumbers.push($(this).val());
131 if (itemnumbers.length > 0) {
132 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show';
133 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
134 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
135 $('a.itemselection_action_modify').attr('href', url);
142 function itemSelectionBuildActionLinks(tab) {
143 var div = $("#" + tab);
144 var delete_link_ok = itemSelectionBuildDeleteLink(div);
145 var modify_link_ok = itemSelectionBuildModifyLink(div);
146 if (modify_link_ok || delete_link_ok) {
147 $('.itemselection_actions', div).show();
149 $('.itemselection_actions', div).hide();
153 $(document).ready(function() {
155 $('table.items_table').each(function() {
156 var div = $(this).parent().attr("id");
157 itemSelectionBuildActionLinks(div);
160 $("input[name='itemnumber'][type='checkbox']").change(function() {
161 var div = $(this).parents('table').parent().parent().attr("id");
162 itemSelectionBuildActionLinks(div);
165 $(".SelectAll").on("click",function(e){
167 var tab = $(this).data("tab");
168 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', true);
169 itemSelectionBuildActionLinks(tab);
172 $(".ClearAll").on("click",function(e){
174 var tab = $(this).data("tab");
175 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', false);
176 itemSelectionBuildActionLinks(tab);
182 $(document).ready(function() {
183 $('#bibliodetails').tabs();
185 $('#bibliodetails').tabs("option", "active", 3);
187 $('#search-form').focus();
188 $('.thumbnails > li > a > span.remove').click(function() {
189 var result = confirm(_("Are you sure you want to delete this cover image?"));
191 if ( result == true ) {
192 var imagenumber = $(this).parent().parent().attr('id').split('-')[1];
193 removeLocalImage(imagenumber);
198 [%# inject no images message %]
199 [% IF ( LocalCoverImages && ! localimages.0 ) %]
200 showNoImageMessage();
202 [% IF LocalCoverImages %]
203 KOHA.LocalCover.GetCoverFromBibnumber(true);
205 $("body").on("click",".previewMARC", function(e){
207 var page = $(this).attr("href");
208 $("#marcPreview .modal-body").load(page + " table");
209 $('#marcPreview').modal({show:true});
211 $("#marcPreview").on("hidden", function(){
212 $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
214 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
215 novSelect.loadContentForQuery(
217 ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
218 ISBN : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
221 '[% Koha.Preference('NovelistSelectProfile') %]',
222 '[% Koha.Preference('NovelistSelectPassword') %]',
224 if ( d.length > 0 ){ //If no content
225 $(".NovelistSelect").show();
232 [% IF ( AmazonCoverImages || LocalCoverImages ) %]$(window).load(function() {
237 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
238 [% INCLUDE 'datatables.inc' %]
239 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script>
240 [% INCLUDE 'browser-strings.inc' %]
242 <script type="text/javascript" src="[% interface %]/lib/shims/json2.min.js"></script>
244 <script type="text/javascript" src="[% interface %]/js/browser.js"></script>
245 <script type="text/javascript">
247 var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
250 function activate_filters(id) {
251 var table = $("#" + id + " table");
252 if (table.length == 1) {
253 filters_row = table.find('thead tr.filters_row');
256 filters_row.find('th').each(function() {
257 if(this.className === "NoSort"){
258 aoColumns.push(null);
260 aoColumns.push('text');
264 if (table.find('thead tr.columnFilter').length == 0) {
265 table.dataTable().columnFilter({
266 'sPlaceHolder': 'head:after'
267 , 'aoColumns': aoColumns
269 filters_row.addClass('columnFilter');
274 $('#' + id + '_activate_filters')
275 .html('<i class="fa fa-filter"></i> ' + _("Deactivate filters") )
278 deactivate_filters(id);
283 function deactivate_filters(id) {
284 filters_row = $("#" + id + " table").find('thead tr.filters_row');
286 filters_row.find('input[type="text"]')
287 .val('') // Empty filter text boxes
288 .trigger('keyup') // Filter (display all rows)
289 .trigger('blur'); // Reset value to the column name
292 $('#' + id + '_activate_filters')
293 .html('<i class="fa fa-filter"></i> ' + _("Activate filters") )
296 activate_filters(id);
301 $(document).ready(function() {
302 var ids = ['holdings', 'otherholdings'];
305 var table = $('#' + id + ' table');
307 // Duplicate the table header row for columnFilter
308 thead_row = table.find('thead tr');
309 clone = thead_row.clone().addClass('filters_row');
310 clone.find("th.NoSort").html('');
311 thead_row.before(clone);
314 table.dataTable($.extend(true, {}, dataTablesDefaults, {
319 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }
323 // Show a link to activate filtering
326 .attr('id', id + '_activate_filters');
327 $("." + id + "_table_controls").prepend(link);
328 deactivate_filters(id);
330 [% IF Koha.Preference('AcquisitionDetails') %]
331 $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
335 "aaSorting": [[ 4, "desc" ]],
337 { "aTargets": "title-string", "sType": "title-string" }
347 <body id="catalog_detail" class="catalog">
349 [% INCLUDE 'header.inc' %]
350 [% INCLUDE 'cat-search.inc' %]
352 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
353 [% IF ( unknownbiblionumber ) %]
356 Details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</i>
360 <div id="doc3" class="yui-t2">
362 [% IF ( unknownbiblionumber ) %]
363 <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
369 [% INCLUDE 'cat-toolbar.inc' %]
371 <!-- COinS / OpenURL -->
372 <span class="Z3988" title="[% ocoins %]"></span>
375 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
376 [% IF ( XSLTDetailsDisplay ) %]
378 <div id="catalogue_detail_biblio" class="yui-u first">
381 <div id="catalogue_detail_biblio" class="yui-u first">
384 [% IF ( XSLTDetailsDisplay ) %]
386 <div id="catalogue_detail_biblio">
389 <div id="catalogue_detail_biblio" class="yui-u first">
393 [% IF ( XSLTDetailsDisplay ) %]
396 [% IF shelves.count %]
397 <span class="results_summary"><span class="label">Lists that include this title: </span>
398 [% FOREACH s IN shelves %]
399 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a>
400 [% IF ( loop.last ) %][% ELSE %]|[% END %]
404 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
405 <span class="results_summary"><span class="label">Tags:</span>
406 [% FOREACH TagLoo IN TagLoop %]
407 [% IF ( CAN_user_tools_moderate_tags ) %]
408 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
410 [% TagLoo.term |html %]
412 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
416 <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>
418 [% IF ( holdcount ) %]
419 <span class="results_summary">
420 <span class="label">Holds:</span>
421 <span class="number_box">
422 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a>
427 [% IF ( article_requests_count = Biblio.ArticleRequestsActiveCount( biblionumber ) ) %]
428 <span class="results_summary">
429 <span class="label">Article requests:</span>
430 <span class="number_box">
431 <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber %]">[% article_requests_count %]</a>
436 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
437 </div><div class="yui-u" id="bookcoverimg">
438 [% IF ( LocalCoverImages ) %]
439 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
441 [% IF ( AmazonCoverImages ) %]
442 <div id="amazon-bookcoverimg">
443 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %][% AmazonAssocTag %]#reader-link">
444 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
450 <h3>[% title |html %]</h3>
451 [% FOREACH subtitl IN subtitle %]
452 <h4>[% subtitl.subfield %]</h4>
454 [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% translated_description %]" title="[% translated_description %]">[% END %]
455 [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
456 [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author | html %]</a></p>[% END %]
458 [% IF ( MARCAUTHORS ) %]
459 <li><strong>Additional authors:</strong><ul>
460 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
461 <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>
467 [% IF ( MARCSERIES ) %]
468 <li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
469 <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>
474 [% IF ( publishercode ) %]
475 <li><strong>Published by:</strong>
476 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
477 [% publishercode |html %]
478 </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsability ) %][% editionresponsability %][% END %]
481 <li><strong>Description:</strong>
482 [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %]
483 [% IF ( size ) %][% size %][% END %]
485 [% IF ( MARCURLS ) %]<li>
487 <strong>Online resources:</strong>
488 <ul> [% FOREACH MARCurl IN MARCURLS %]
489 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
491 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
492 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">[% MARCurl.linktext %]</a>
493 [% IF ( MARCurl.notes ) %]<ul>[% FOREACH note IN MARCurl.notes %]<li>[% note.note %]</li>[% END %]</ul>[% END %]</li>
498 [% IF ( OPACBaseURL ) %]
499 <li><strong>OPAC view:</strong>
500 <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a>
503 <li id="catalogue_detail_marc_preview">
504 <strong>MARC Preview:</strong>
505 <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a>
510 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
511 <div class="yui-u" id="bookcoverimg">
512 [% IF ( LocalCoverImages ) %]
513 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
515 [% IF ( AmazonCoverImages ) %]
516 <div id="amazon-bookcoverimg">
517 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %][% AmazonAssocTag %]#reader-link">
518 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
525 <div class="yui-u" style="margin-top: 1em;">
527 [% IF ( MARCISBNS ) %]
528 <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN | html %]</li>[% END %]</ul></li>
530 [% IF ( normalized_isbn ) %]
531 <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
535 <li><strong>ISSN:</strong>[% issn %]</li>
537 [% IF ( collectiontitle ) %]
538 <li><strong>Collection: </strong>
539 [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn %])[% END %]
542 [% IF ( MARCSUBJCTS ) %]
543 <li><strong>Subjects:</strong>
545 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
546 <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>
551 [% IF ( copyrightdate ) %]
552 <li><strong>Copyright:</strong> [% copyrightdate %]</li>
555 [% IF ( classification ) %]
556 <li><strong>Classification:</strong> [% subclass %][% classification %]</li>
559 <li><strong>Dewey:</strong> [% dewey %]</li>
562 <li><strong>URL:</strong>
563 [% FOREACH url IN urlS %]
564 <a href="[% url.url %]">[% url.url %]</a>
568 <!--This grabs all of the lists a bib record appears in -->
569 [% IF shelves.count %]
570 <li><strong>Lists that include this title: </strong>
572 [% FOREACH s IN shelves %]
573 <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></li>
578 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
579 <li><strong>Tags:</strong>
581 [% FOREACH TagLoo IN TagLoop %]
583 [% IF ( CAN_user_tools_moderate_tags ) %]
584 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
586 [% TagLoo.term |html %]
588 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
592 [% IF ( holdcount ) %]<li><strong>Holds:</strong> <span class="number_box"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></li>[% ELSE %][% END %]
598 <div id="bibliodetails" class="toptabs">
601 [% IF (SeparateHoldings) %]
602 <li><a href="#holdings">[% LoginBranchname %] holdings</a></li>
603 <li><a href="#otherholdings">Other holdings</a></li>
605 <li><a href="#holdings">Holdings</a></li>
607 [% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %]
608 [% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
609 [% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
610 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %]
611 [% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %]
612 [% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %]
613 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
614 <li class="NovelistSelect" style="display:none;"><a href="#NovelistSelect">NoveList Select</a></li>
618 [% items_table_block_iter = 0 %]
619 [% BLOCK items_table %]
620 [% items_table_block_iter = items_table_block_iter + 1 %]
621 <div class="[% tab %]_table_controls">
622 [% IF (StaffDetailItemSelection) %]
623 | <a href="#" class="SelectAll" data-tab="[% tab %]"><i class="fa fa-check"></i> Select all</a> |
624 <a href="#" class="ClearAll" data-tab="[% tab %]"><i class="fa fa-remove"></i> Clear all</a>
625 <span class="itemselection_actions">
627 [% IF CAN_user_tools_items_batchdel %]
628 <a class="itemselection_action_delete"><i class="fa fa-trash"></i> Delete selected items</a>
630 [% IF CAN_user_tools_items_batchmod %]
631 <a class="itemselection_action_modify"><i class="fa fa-pencil"></i> Modify selected items</a>
636 <table class="items_table">
639 [% IF (StaffDetailItemSelection) %]<th class="NoSort"></th>[% END %]
640 [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %]
641 <th>Current location</th>
642 <th>Home library</th>
643 [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
648 [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %]
649 [% IF ( itemdata_uri ) %]<th>URL</th>[% END %]
650 [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
651 [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %]
652 [% IF materials %]<th>Materials specified</th>[% END %]
653 [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
654 [% IF ( itemdata_nonpublicnotes ) %]<th>Non-public notes</th>[% END %]
655 [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
656 [% IF ( hostrecords ) %]<th>Host records</th>[% END %]
657 [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
658 [% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %]
659 [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort"> </th>[% END %]
663 [% FOREACH item IN items %]
665 [% IF (StaffDetailItemSelection) %]
666 <td style="text-align:center;vertical-align:middle">
667 <input type="checkbox" value="[% item.itemnumber %]" name="itemnumber" />
670 [% IF ( item_level_itypes ) %]
672 [% IF !noItemTypeImages && item.imageurl %]
673 <img src="[% item.imageurl %]" alt="[% item.translated_description %]" title="[% item.translated_description %]" />
675 [% item.translated_description %]
678 <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) %] [% END %]</td>
679 <td class="homebranch">[% Branches.GetName(item.homebranch) %]<span class="shelvingloc">[% item.location %]</span> </td>
680 [% IF ( itemdata_ccode ) %]<td>[% item.ccode %]</td>[% END %]
681 <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber %][% END %]</td>
684 [% IF ( item.datedue ) %]
685 [% IF item.onsite_checkout %]
686 <span>Currently in local use
688 <span class="datedue">Checked out
690 [% UNLESS ( item.NOTSAMEBRANCH ) %]
691 [% IF item.onsite_checkout %]
692 by <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
694 to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
696 [% IF ( item.hidepatronname ) %]
697 [% item.cardnumber %]
699 [% item.firstname %] [% item.surname %]
703 : due [% item.datedue %]
705 [% ELSIF ( item.transfertwhen ) %]
706 <span class="intransit">In transit from [% Branches.GetName( item.transfertfrom ) %] to [% Branches.GetName( item.transfertto ) %] since [% item.transfertwhen | $KohaDates %]</span>
709 [% IF ( item.itemlost ) %]
710 [% IF itemlostloop %]
711 [% FOREACH itemlostloo IN itemlostloop %]
712 [% IF itemlostloo.authorised_value == item.itemlost %]
713 <span class="lost">[% itemlostloo.lib %]</span>
717 <span class="lost">Unavailable (lost or missing)</span>
721 [% IF ( item.withdrawn ) %]
722 <span class="wdn">Withdrawn</span>
725 [% IF ( item.damaged ) %]
726 [% IF itemdamagedloop %]
727 [% FOREACH itemdamagedloo IN itemdamagedloop %]
728 [% IF itemdamagedloo.authorised_value == item.damaged %]
729 <span class="dmg">[% itemdamagedloo.lib %]</span>
733 <span class="dmg">Damaged</span>
737 [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
739 [% IF ( item.notforloanvalue ) %]
740 ([% item.notforloanvalue %])
744 [% IF ( item.reservedate ) %]
745 [% IF ( item.waitingdate ) %]
746 Waiting at [% Branches.GetName( item.ExpectedAtLibrary ) %] since [% item.waitingdate | $KohaDates %].
748 Item-level hold (placed [% item.reservedate | $KohaDates %]) for delivery at [% Branches.GetName( item.ExpectedAtLibrary ) %].
750 [% IF ( canreservefromotherbranches ) %]
751 Hold for: <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.ReservedForBorrowernumber %]">
752 [% IF ( item.hidepatronname ) %]
753 [% item.Reservedcardnumber %]
755 [% item.ReservedForFirstname _ " " _ item.ReservedForSurname _ " (" _ item.Reservedcardnumber _ ")" %]
760 [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || item.reservedate ) %]
764 [% IF ( item.restricted ) %]
765 <span class="restricted">([% item.restricted %])</span>
769 <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td>
770 <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>
772 <td class="enumchron">
773 [% IF ( itemdata_enumchron ) %]
774 [% IF item.enumchron && item.serialseq %]
775 <span class="enum">[% item.enumchron %]</span>
776 [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
777 <span class="sep"> -- </span>
778 <span class="serialseq">[% item.serialseq %]</span>
780 [% ELSIF item.enumchron %]
781 <span class="enum">[% item.enumchron %]</span>
782 [% ELSIF item.serialseq %]
783 <span class="serialseq">[% item.serialseq %]</span>
785 [% IF ( item.publisheddate ) %]
786 <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
791 [% IF ( itemdata_uri ) %]
792 <td class="uri"><a href="[% item.uri %]">[% item.uri %]</a></td>
794 [% IF ( itemdata_copynumber ) %]
795 <td class="copynumber">[% item.copynumber %]</td>
797 [% IF ( itemdata_stocknumber ) %]
798 <td class="stocknumber">[% item.stocknumber %]</td>
801 <td class="materials"> [% item.materials %] </td>
803 [% IF ( itemdata_itemnotes ) %]
804 <td><div class="itemnotes">[% item.itemnotes %]</div></td>
806 [% IF itemdata_nonpublicnotes %]
807 <td class="nonpublicnote">[% item.itemnotes_nonpublic %]</td>
809 [% IF ( SpineLabelShowPrintOnBibDetails ) %]
810 <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]" >Print label</a></td>
812 [% IF ( hostrecords ) %]
813 <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]" >[% item.hosttitle %]</a>[% END %]</td>
817 [% IF ( item.countanalytics ) %]
818 <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] analytics</a>
823 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">Create analytics</a></td>
826 [% IF ShowCourseReserves %]
828 [% IF item.course_reserves %]
829 [% FOREACH r IN item.course_reserves %]
830 [% IF r.course.enabled == 'yes' %]
832 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% r.course.course_id %]">
833 [% r.course.course_name %]
834 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
835 [% IF r.course.section %] [% r.course.section %] [% END %]
836 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
844 [% IF CAN_user_editcatalogue_edit_items %]
846 [% UNLESS item.cannot_be_edited %]
847 <a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]#edititem"><i class="fa fa-pencil"></i> Edit</a>
855 [% END %][%# end of block items_table %]
859 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %]
860 <span class="results_summary NovelistSelect" style="display:none;">
861 <span class="label">Novelist Select: </span>
862 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
867 [% IF ( showncount ) %]
868 [% PROCESS items_table tab="holdings" items=itemloop %]
870 [% IF ( hiddencount ) %]
871 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">Show all items ([% hiddencount %] hidden)</a>
873 [% IF ( debug_display ) %]
876 <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr>
877 <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr>
878 <tr><td>serial</td><td>[% serial %]</td></tr>
882 [% IF ( ALTERNATEHOLDINGS ) %]
883 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
884 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
887 <div id="noitems">No physical items for this record</div>
891 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %]
892 <span class="results_summary NovelistSelect" style="display:none;">
893 <span class="label">Novelist Select: </span>
894 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
899 [% IF (SeparateHoldings) %]
900 <div id="otherholdings">
901 [% IF (otheritemloop.size) %]
902 [% PROCESS items_table tab="otherholdings" items=otheritemloop %]
909 [% IF ( MARCNOTES || notes ) %]
911 <div id="description">
912 <div class="content_set">
914 [% IF ( MARCNOTES ) %]
915 [% FOREACH MARCNOTE IN MARCNOTES %]
917 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
918 <a href="[% MARCNOTE.marcnote %]">[% MARCNOTE.marcnote %]</a>
920 [% MARCNOTE.marcnote FILTER html_line_break %]
934 [% IF ( subscriptionsnumber ) %]
935 <div id="subscriptions">
937 <div id="catalogue_detail_subscriptions">
938 <h2>This is a serial subscription</h2>
939 <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p>
940 [% FOREACH subscription IN subscriptions %]
941 [% IF subscription.branchcode %]
942 <h3>At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode %]</h3>
944 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
945 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %] </p>[% END %]
946 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
947 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
948 [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %]
949 [% IF ( subscription.latestserials ) %]
950 <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p>
954 <th>Date arrived</th>
955 <th>Date published</th>
959 [% FOREACH latestserial IN subscription.latestserials %]
961 <td>[% latestserial.serialseq %]</td>
962 <td>[% latestserial.planneddate %]</td>
963 <td>[% latestserial.publisheddate%]</td>
965 [% IF ( latestserial.status1 ) %]Expected[% END %]
966 [% IF ( latestserial.status2 ) %]Arrived[% END %]
967 [% IF ( latestserial.status3 ) %]Late[% END %]
968 [% IF ( latestserial.status4 ) %]Missing[% END %]
969 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
970 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
971 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
972 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
973 [% IF ( latestserial.status5 ) %]Not issued[% END %]
974 [% IF ( latestserial.status6 ) %]Delete[% END %]
975 [% IF ( latestserial.status7 ) %]Claimed[% END %]
976 [% IF ( latestserial.status8 ) %]Stopped[% END %]
978 <td>[% latestserial.notes %]</td>
983 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription details</a>
990 [% IF Koha.Preference('AcquisitionDetails') %]
991 <div id="acq_details">
997 <th>Basket group</th>
999 <th>Order number</th>
1000 <th class="title-string">Creation date</th>
1001 <th class="title-string">Receive date</th>
1007 [% FOR order IN orders %]
1011 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="Vendor detail page">[% order.name %]</a>
1015 [% IF (order.basketgroupid) %]
1016 [% IF CAN_user_acquisition_group_manage %]
1017 <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.id %]&basketgroupid=[% order.basketgroupid %]">[% order.groupname %] ([% order.basketgroupid %])</a>
1019 [% order.groupname %] ([% order.basketgroupid %])
1023 <td>[% IF CAN_user_acquisition_order_manage %]
1024 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %] ([% order.basketno %])</a>
1026 [% order.basketname %] ([% order.basketno %])
1028 <td>[% order.ordernumber %]</td>
1029 <td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td>
1030 <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
1032 [% SWITCH order.orderstatus %]
1034 [% CASE 'ordered' %]Ordered
1035 [% CASE 'partial' %]Partial
1036 [% CASE 'complete' %]Complete
1037 [% CASE 'cancelled' %]Cancelled
1040 <td>[% order.quantity %]</td>
1046 There is no order for this biblio.
1051 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
1052 <div id="editions"><h4>Editions</h4>
1054 [% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn %][% AmazonAssocTag %]#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 %]
1055 [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
1056 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author | html %] ©[% XISBN.copyrightdate %]
1057 [% IF ( XISBN.publishercode ) %]
1058 [% 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 %]
1060 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages %] [% IF ( XISBN.illus ) %][% XISBN.illus %][% END %]
1061 [% IF ( XISBN.size ) %], [% END %][% XISBN.size %]
1065 </table></div>[% END %]
1068 [% IF ( LocalCoverImages ) %]
1070 [% IF ( localimages.0 ) %]
1071 <p>Click on an image to view it in the image viewer</p>
1072 <ul class="thumbnails">
1073 [% FOREACH image IN localimages %]
1075 <li id="imagenumber-[% image %]">
1076 <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]">
1077 <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" />
1078 [% IF CAN_user_tools_upload_local_cover_images %]
1079 <span class="remove" title="remove this image">Delete image</span>
1086 [%# ELSE - No image passed JavaScript takes care %]
1091 [% IF ( HTML5MediaEnabled ) %]
1092 <div id="html5media">
1093 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1095 <[% HTML5MediaParent %] controls preload=none>
1096 <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
1097 [[% HTML5MediaParent %] tag not supported by your browser.]
1098 </[% HTML5MediaParent %]>
1105 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
1106 <div id="NovelistSelect" class="novelistSelect">
1107 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
1111 </div><!-- /bibliodetails -->
1113 <div class="yui-g" id="export" style="margin-top: 1em;">
1114 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
1116 <th>Save Record</th> </tr>
1117 <tr><td> Select download format: <select name="format">
1118 <option value="mods">MODS (XML)</option>
1119 <option data-toggle="modal" data-target="#exportModal_">Dublin Core</option>
1120 <option value="marcxml">MARCXML</option>
1121 <option value="marc8">MARC (non-Unicode/MARC-8)</option>
1122 <option value="utf8">MARC (Unicode/UTF-8)</option> </select>
1123 <input type="submit" name="save" value="Download Record" /></td>
1126 <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber %]" />
1132 <div id="marcPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
1133 <div class="modal-dialog modal-lg">
1134 <div class="modal-content">
1135 <div class="modal-header">
1136 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
1137 <h3 id="marcPreviewLabel">MARC preview</h3>
1139 <div class="modal-body">
1140 <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
1142 <div class="modal-footer">
1143 <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
1152 [% INCLUDE 'biblio-view-menu.inc' %]
1157 [% INCLUDE 'intranet-bottom.inc' %]