3 [% USE AuthorisedValues %]
7 [% ShowCourseReserves = 0 %]
8 [% IF UseCourseReserves %]
9 [% FOREACH item IN itemloop %]
10 [% IF item.course_reserves %]
11 [% FOREACH r IN item.course_reserves %]
12 [% IF r.course.enabled == 'yes' %]
13 [% ShowCourseReserves = 1 %]
20 [% INCLUDE 'doc-head-open.inc' %]
21 [% INCLUDE 'greybox.inc' %]
22 <title>Koha › Catalog ›
23 [% IF ( unknownbiblionumber ) %]
26 Details for [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]
30 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
31 <script type="text/javascript" src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script>
34 [% INCLUDE 'doc-head-close.inc' %]<script type="text/JavaScript">
36 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
37 function verify_images() {
38 $("#bookcoverimg").each(function(i){
39 $(this).find('img').each(function(i){
40 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'))) {
43 if ((w == 1) || (h == 1)) {
44 $("#amazon-bookcoverimg").remove();
45 $(".yui-gb").attr("class","yui-g");
46 } else if ((this.complete != null) && (!this.complete)) {
47 $("#amazon-bookcoverimg").remove();
48 $(".yui-gb").attr("class","yui-g");
52 if( $(this).find('img').length < 1 ) $(this).remove();
54 $("#editions img").each(function(i){
55 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'))) {
58 if ((w == 1) || (h == 1)) {
59 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
60 } else if ((this.complete != null) && (!this.complete)) {
61 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
67 function removeLocalImage(imagenumber) {
70 url: "/cgi-bin/koha/svc/cover_images?action=delete&biblionumber=" + [% biblionumber %] + "&imagenumber=" + imagenumber,
71 success: function(data) {
72 $(data).each( function(i) {
73 if ( this.deleted == 1 ) {
74 $('#imagenumber-' + this.imagenumber).remove();
76 if ( $('ul.thumbnails > li').length == 0 ) {
81 error: function(data) {
82 alert(_("An error occurred on deleting this image"));
88 function showNoImageMessage() {
90 var no_images_msg = _("No images have been uploaded for this bibliographic record yet.");
91 no_images_msg = '<p>' + no_images_msg + '</p>';
92 [% IF ( CAN_user_tools_upload_local_cover_images ) %]
93 var please_upload = _("Please select the image file to upload. %sUpload%s").format(
94 "<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> ",
96 no_images_msg += "<p id='upload_image'>" + please_upload + '</p>';
99 $('#images').html(no_images_msg);
102 [% IF StaffDetailItemSelection %]
104 function itemSelectionBuildDeleteLink(div) {
105 var itemnumbers = new Array();
106 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
107 itemnumbers.push($(this).val());
109 if (itemnumbers.length > 0) {
110 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1';
111 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
112 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
113 $('a.itemselection_action_delete').attr('href', url);
120 function itemSelectionBuildModifyLink(div) {
121 var itemnumbers = new Array();
122 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
123 itemnumbers.push($(this).val());
125 if (itemnumbers.length > 0) {
126 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show';
127 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
128 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
129 $('a.itemselection_action_modify').attr('href', url);
136 function itemSelectionBuildActionLinks(tab) {
137 var div = $("#" + tab);
138 var delete_link_ok = itemSelectionBuildDeleteLink(div);
139 var modify_link_ok = itemSelectionBuildModifyLink(div);
140 if (modify_link_ok || delete_link_ok) {
141 $('.itemselection_actions', div).show();
143 $('.itemselection_actions', div).hide();
147 $(document).ready(function() {
149 $('table.items_table').each(function() {
150 var div = $(this).parent().attr("id");
151 itemSelectionBuildActionLinks(div);
154 $("input[name='itemnumber'][type='checkbox']").change(function() {
155 var div = $(this).parents('table').parent().parent().attr("id");
156 itemSelectionBuildActionLinks(div);
159 $(".SelectAll").on("click",function(e){
161 var tab = $(this).data("tab");
162 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', true);
163 itemSelectionBuildActionLinks(tab);
166 $(".ClearAll").on("click",function(e){
168 var tab = $(this).data("tab");
169 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', false);
170 itemSelectionBuildActionLinks(tab);
176 $(document).ready(function() {
177 $('#bibliodetails').tabs();
179 $('#bibliodetails').tabs("option", "active", 3);
181 $('#search-form').focus();
182 $('.thumbnails > li > a > span.remove').click(function() {
183 var result = confirm(_("Are you sure you want to delete this cover image?"));
185 if ( result == true ) {
186 var imagenumber = $(this).parent().parent().attr('id').split('-')[1];
187 removeLocalImage(imagenumber);
192 [%# inject no images message %]
193 [% IF ( LocalCoverImages && ! localimages.0 ) %]
194 showNoImageMessage();
196 [% IF LocalCoverImages %]
197 KOHA.LocalCover.GetCoverFromBibnumber(true);
199 $("body").on("click",".previewMARC", function(e){
201 var page = $(this).attr("href");
202 $("#marcPreview .modal-body").load(page + " table");
203 $('#marcPreview').modal({show:true});
205 $("#marcPreview").on("hidden", function(){
206 $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
208 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
209 novSelect.loadContentForQuery(
211 ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
212 ISBN : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
215 '[% Koha.Preference('NovelistSelectProfile') %]',
216 '[% Koha.Preference('NovelistSelectPassword') %]',
218 if ( d.length > 0 ){ //If no content
219 $(".NovelistSelect").show();
226 [% IF ( AmazonCoverImages || LocalCoverImages ) %]$(window).load(function() {
231 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
232 [% INCLUDE 'datatables.inc' %]
233 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script>
234 [% INCLUDE 'browser-strings.inc' %]
236 <script type="text/javascript" src="[% interface %]/lib/shims/json2.min.js"></script>
238 <script type="text/javascript" src="[% interface %]/js/browser.js"></script>
239 <script type="text/javascript">
241 var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
244 function activate_filters(id) {
245 var table = $("#" + id + " table");
246 if (table.length == 1) {
247 filters_row = table.find('thead tr.filters_row');
250 filters_row.find('th').each(function() {
251 if(this.className === "NoSort"){
252 aoColumns.push(null);
254 aoColumns.push('text');
258 if (table.find('thead tr.columnFilter').length == 0) {
259 table.dataTable().columnFilter({
260 'sPlaceHolder': 'head:after'
261 , 'aoColumns': aoColumns
263 filters_row.addClass('columnFilter');
268 $('#' + id + '_activate_filters')
269 .html('<i class="fa fa-filter"></i> ' + _("Deactivate filters") )
272 deactivate_filters(id);
277 function deactivate_filters(id) {
278 filters_row = $("#" + id + " table").find('thead tr.filters_row');
280 filters_row.find('input[type="text"]')
281 .val('') // Empty filter text boxes
282 .trigger('keyup') // Filter (display all rows)
283 .trigger('blur'); // Reset value to the column name
286 $('#' + id + '_activate_filters')
287 .html('<i class="fa fa-filter"></i> ' + _("Activate filters") )
290 activate_filters(id);
295 $(document).ready(function() {
296 var ids = ['holdings', 'otherholdings'];
299 var table = $('#' + id + ' table');
301 // Duplicate the table header row for columnFilter
302 thead_row = table.find('thead tr');
303 clone = thead_row.clone().addClass('filters_row');
304 clone.find("th.NoSort").html('');
305 thead_row.before(clone);
308 table.dataTable($.extend(true, {}, dataTablesDefaults, {
313 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }
317 // Show a link to activate filtering
320 .attr('id', id + '_activate_filters');
321 $("." + id + "_table_controls").prepend(link);
322 deactivate_filters(id);
324 [% IF Koha.Preference('AcquisitionDetails') %]
325 $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
329 "aaSorting": [[ 4, "desc" ]],
331 { "aTargets": "title-string", "sType": "title-string" }
341 <body id="catalog_detail" class="catalog">
343 [% INCLUDE 'header.inc' %]
344 [% INCLUDE 'cat-search.inc' %]
346 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
347 [% IF ( unknownbiblionumber ) %]
350 Details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</i>
354 <div id="doc3" class="yui-t2">
356 [% IF ( unknownbiblionumber ) %]
357 <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
363 [% INCLUDE 'cat-toolbar.inc' %]
365 <!-- COinS / OpenURL -->
366 <span class="Z3988" title="[% ocoins %]"></span>
369 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
370 [% IF ( XSLTDetailsDisplay ) %]
372 <div id="catalogue_detail_biblio" class="yui-u first">
375 <div id="catalogue_detail_biblio" class="yui-u first">
378 [% IF ( XSLTDetailsDisplay ) %]
380 <div id="catalogue_detail_biblio">
383 <div id="catalogue_detail_biblio" class="yui-u first">
387 [% IF ( XSLTDetailsDisplay ) %]
390 [% IF shelves.count %]
391 <span class="results_summary"><span class="label">Lists that include this title: </span>
392 [% FOREACH s IN shelves %]
393 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a>
394 [% IF ( loop.last ) %][% ELSE %]|[% END %]
398 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
399 <span class="results_summary"><span class="label">Tags:</span>
400 [% FOREACH TagLoo IN TagLoop %]
401 [% IF ( CAN_user_tools_moderate_tags ) %]
402 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
404 [% TagLoo.term |html %]
406 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
410 <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>
412 [% IF ( holdcount ) %]
413 <span class="results_summary">
414 <span class="label">Holds:</span>
415 <span class="number_box">
416 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a>
421 [% IF ( article_requests_count = Biblio.ArticleRequestsActiveCount( biblionumber ) ) %]
422 <span class="results_summary">
423 <span class="label">Article requests:</span>
424 <span class="number_box">
425 <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber %]">[% article_requests_count %]</a>
430 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
431 </div><div class="yui-u" id="bookcoverimg">
432 [% IF ( LocalCoverImages ) %]
433 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
435 [% IF ( AmazonCoverImages ) %]
436 <div id="amazon-bookcoverimg">
437 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
438 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
444 <h3>[% title |html %]</h3>
445 [% FOREACH subtitl IN subtitle %]
446 <h4>[% subtitl.subfield %]</h4>
448 [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% translated_description %]" title="[% translated_description %]">[% END %]
449 [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
450 [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author | html %]</a></p>[% END %]
452 [% IF ( MARCAUTHORS ) %]
453 <li><strong>Additional authors:</strong><ul>
454 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
455 <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>
461 [% IF ( MARCSERIES ) %]
462 <li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
463 <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>
468 [% IF ( publishercode ) %]
469 <li><strong>Published by:</strong>
470 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
471 [% publishercode |html %]
472 </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsability ) %][% editionresponsability %][% END %]
475 <li><strong>Description:</strong>
476 [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %]
477 [% IF ( size ) %][% size %][% END %]
479 [% IF ( MARCURLS ) %]<li>
481 <strong>Online resources:</strong>
482 <ul> [% FOREACH MARCurl IN MARCURLS %]
483 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
485 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
486 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">[% MARCurl.linktext %]</a>
487 [% IF ( MARCurl.notes ) %]<ul>[% FOREACH note IN MARCurl.notes %]<li>[% note.note %]</li>[% END %]</ul>[% END %]</li>
492 [% IF ( OPACBaseURL ) %]
493 <li><strong>OPAC view:</strong>
494 <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a>
497 <li id="catalogue_detail_marc_preview">
498 <strong>MARC Preview:</strong>
499 <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a>
504 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
505 <div class="yui-u" id="bookcoverimg">
506 [% IF ( LocalCoverImages ) %]
507 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
509 [% IF ( AmazonCoverImages ) %]
510 <div id="amazon-bookcoverimg">
511 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
512 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
519 <div class="yui-u" style="margin-top: 1em;">
521 [% IF ( MARCISBNS ) %]
522 <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN | html %]</li>[% END %]</ul></li>
524 [% IF ( normalized_isbn ) %]
525 <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
529 <li><strong>ISSN:</strong>[% issn %]</li>
531 [% IF ( collectiontitle ) %]
532 <li><strong>Collection: </strong>
533 [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn %])[% END %]
536 [% IF ( MARCSUBJCTS ) %]
537 <li><strong>Subjects:</strong>
539 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
540 <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>
545 [% IF ( copyrightdate ) %]
546 <li><strong>Copyright:</strong> [% copyrightdate %]</li>
549 [% IF ( classification ) %]
550 <li><strong>Classification:</strong> [% subclass %][% classification %]</li>
553 <li><strong>Dewey:</strong> [% dewey %]</li>
556 <li><strong>url:</strong>
557 [% FOREACH url IN urlS %]
558 <a href="[% url.url %]">[% url.url %]</a>
562 <!--This grabs all of the lists a bib record appears in -->
563 [% IF shelves.count %]
564 <li><strong>Lists that include this title: </strong>
566 [% FOREACH s IN shelves %]
567 <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></li>
572 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
573 <li><strong>Tags:</strong>
575 [% FOREACH TagLoo IN TagLoop %]
577 [% IF ( CAN_user_tools_moderate_tags ) %]
578 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
580 [% TagLoo.term |html %]
582 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
586 [% 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 %]
592 <div id="bibliodetails" class="toptabs">
595 [% IF (SeparateHoldings) %]
596 <li><a href="#holdings">[% LoginBranchname %] holdings</a></li>
597 <li><a href="#otherholdings">Other holdings</a></li>
599 <li><a href="#holdings">Holdings</a></li>
601 [% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %]
602 [% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
603 [% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
604 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %]
605 [% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %]
606 [% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %]
607 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
608 <li class="NovelistSelect" style="display:none;"><a href="#NovelistSelect">NoveList Select</a></li>
612 [% items_table_block_iter = 0 %]
613 [% BLOCK items_table %]
614 [% items_table_block_iter = items_table_block_iter + 1 %]
615 <div class="[% tab %]_table_controls">
616 [% IF (StaffDetailItemSelection) %]
617 | <a href="#" class="SelectAll" data-tab="[% tab %]"><i class="fa fa-check"></i> Select all</a> |
618 <a href="#" class="ClearAll" data-tab="[% tab %]"><i class="fa fa-remove"></i> Clear all</a>
619 <span class="itemselection_actions">
621 [% IF CAN_user_tools_items_batchdel %]
622 <a class="itemselection_action_delete"><i class="fa fa-trash"></i> Delete selected items</a>
624 [% IF CAN_user_tools_items_batchmod %]
625 <a class="itemselection_action_modify"><i class="fa fa-pencil"></i> Modify selected items</a>
630 <table class="items_table">
633 [% IF (StaffDetailItemSelection) %]<th class="NoSort"></th>[% END %]
634 [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %]
635 <th>Current location</th>
636 <th>Home library</th>
637 [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
642 [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %]
643 [% IF ( itemdata_uri ) %]<th>url</th>[% END %]
644 [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
645 [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %]
646 [% IF materials %]<th>Materials specified</th>[% END %]
647 [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
648 [% IF ( itemdata_nonpublicnotes ) %]<th>Non-public notes</th>[% END %]
649 [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
650 [% IF ( hostrecords ) %]<th>Host records</th>[% END %]
651 [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
652 [% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %]
653 [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort"> </th>[% END %]
657 [% FOREACH item IN items %]
659 [% IF (StaffDetailItemSelection) %]
660 <td style="text-align:center;vertical-align:middle">
661 <input type="checkbox" value="[% item.itemnumber %]" name="itemnumber" />
664 [% IF ( item_level_itypes ) %]
666 [% IF !noItemTypeImages && item.imageurl %]
667 <img src="[% item.imageurl %]" alt="[% item.translated_description %]" title="[% item.translated_description %]" />
669 [% item.translated_description %]
672 <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) %] [% END %]</td>
673 <td class="homebranch">[% Branches.GetName(item.homebranch) %]<span class="shelvingloc">[% item.location %]</span> </td>
674 [% IF ( itemdata_ccode ) %]<td>[% item.ccode %]</td>[% END %]
675 <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber %][% END %]</td>
678 [% IF ( item.datedue ) %]
679 [% IF item.onsite_checkout %]
680 <span>Currently in local use
682 <span class="datedue">Checked out
684 [% UNLESS ( item.NOTSAMEBRANCH ) %]
685 [% IF item.onsite_checkout %]
686 by <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
688 to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
690 [% IF ( item.hidepatronname ) %]
691 [% item.cardnumber %]
693 [% item.firstname %] [% item.surname %]
697 : due [% item.datedue %]
699 [% ELSIF ( item.transfertwhen ) %]
700 <span class="intransit">In transit from [% Branches.GetName( item.transfertfrom ) %] to [% Branches.GetName( item.transfertto ) %] since [% item.transfertwhen | $KohaDates %]</span>
703 [% IF ( item.itemlost ) %]
704 [% IF itemlostloop %]
705 [% FOREACH itemlostloo IN itemlostloop %]
706 [% IF itemlostloo.authorised_value == item.itemlost %]
707 <span class="lost">[% itemlostloo.lib %]</span>
711 <span class="lost">Unavailable (lost or missing)</span>
715 [% IF ( item.withdrawn ) %]
716 <span class="wdn">Withdrawn</span>
719 [% IF ( item.damaged ) %]
720 [% IF itemdamagedloop %]
721 [% FOREACH itemdamagedloo IN itemdamagedloop %]
722 [% IF itemdamagedloo.authorised_value == item.damaged %]
723 <span class="dmg">[% itemdamagedloo.lib %]</span>
727 <span class="dmg">Damaged</span>
731 [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
733 [% IF ( item.notforloanvalue ) %]
734 ([% item.notforloanvalue %])
738 [% IF ( item.reservedate ) %]
739 [% IF ( item.waitingdate ) %]
740 Waiting at [% Branches.GetName( item.ExpectedAtLibrary ) %] since [% item.waitingdate | $KohaDates %].
742 Item-level hold (placed [% item.reservedate | $KohaDates %]) for delivery at [% Branches.GetName( item.ExpectedAtLibrary ) %].
744 [% IF ( canreservefromotherbranches ) %]
745 Hold for: <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.ReservedForBorrowernumber %]">
746 [% IF ( item.hidepatronname ) %]
747 [% item.Reservedcardnumber %]
749 [% item.ReservedForFirstname _ " " _ item.ReservedForSurname _ " (" _ item.Reservedcardnumber _ ")" %]
754 [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || item.reservedate ) %]
758 [% IF ( item.restricted ) %]
759 <span class="restricted">([% item.restricted %])</span>
763 <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td>
764 <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>
766 <td class="enumchron">
767 [% IF ( itemdata_enumchron ) %]
768 [% IF item.enumchron && item.serialseq %]
769 <span class="enum">[% item.enumchron %]</span>
770 [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
771 <span class="sep"> -- </span>
772 <span class="serialseq">[% item.serialseq %]</span>
774 [% ELSIF item.enumchron %]
775 <span class="enum">[% item.enumchron %]</span>
776 [% ELSIF item.serialseq %]
777 <span class="serialseq">[% item.serialseq %]</span>
779 [% IF ( item.publisheddate ) %]
780 <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
785 [% IF ( itemdata_uri ) %]
786 <td class="uri"><a href="[% item.uri %]">[% item.uri %]</a></td>
788 [% IF ( itemdata_copynumber ) %]
789 <td class="copynumber">[% item.copynumber %]</td>
791 [% IF ( itemdata_stocknumber ) %]
792 <td class="stocknumber">[% item.stocknumber %]</td>
795 <td class="materials"> [% item.materials %] </td>
797 [% IF ( itemdata_itemnotes ) %]
798 <td><div class="itemnotes">[% item.itemnotes %]</div></td>
800 [% IF itemdata_nonpublicnotes %]
801 <td class="nonpublicnote">[% item.itemnotes_nonpublic %]</td>
803 [% IF ( SpineLabelShowPrintOnBibDetails ) %]
804 <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]" >Print label</a></td>
806 [% IF ( hostrecords ) %]
807 <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]" >[% item.hosttitle %]</a>[% END %]</td>
811 [% IF ( item.countanalytics ) %]
812 <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] analytics</a>
817 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">Create analytics</a></td>
820 [% IF ShowCourseReserves %]
822 [% IF item.course_reserves %]
823 [% FOREACH r IN item.course_reserves %]
824 [% IF r.course.enabled == 'yes' %]
826 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% r.course.course_id %]">
827 [% r.course.course_name %]
828 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
829 [% IF r.course.section %] [% r.course.section %] [% END %]
830 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
838 [% IF CAN_user_editcatalogue_edit_items %]
840 [% UNLESS item.cannot_be_edited %]
841 <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>
849 [% END %][%# end of block items_table %]
853 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %]
854 <span class="results_summary NovelistSelect" style="display:none;">
855 <span class="label">Novelist Select: </span>
856 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
861 [% IF ( showncount ) %]
862 [% PROCESS items_table tab="holdings" items=itemloop %]
864 [% IF ( hiddencount ) %]
865 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">Show all items ([% hiddencount %] hidden)</a>
867 [% IF ( debug_display ) %]
870 <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr>
871 <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr>
872 <tr><td>serial</td><td>[% serial %]</td></tr>
876 [% IF ( ALTERNATEHOLDINGS ) %]
877 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
878 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
881 <div id="noitems">No physical items for this record</div>
885 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %]
886 <span class="results_summary NovelistSelect" style="display:none;">
887 <span class="label">Novelist Select: </span>
888 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
893 [% IF (SeparateHoldings) %]
894 <div id="otherholdings">
895 [% IF (otheritemloop.size) %]
896 [% PROCESS items_table tab="otherholdings" items=otheritemloop %]
903 [% IF ( MARCNOTES || notes ) %]
905 <div id="description">
906 <div class="content_set">
908 [% IF ( MARCNOTES ) %]
909 [% FOREACH MARCNOTE IN MARCNOTES %]
911 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
912 <a href="[% MARCNOTE.marcnote %]">[% MARCNOTE.marcnote %]</a>
914 [% MARCNOTE.marcnote FILTER html_line_break %]
928 [% IF ( subscriptionsnumber ) %]
929 <div id="subscriptions">
931 <div id="catalogue_detail_subscriptions">
932 <h2>This is a serial subscription</h2>
933 <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p>
934 [% FOREACH subscription IN subscriptions %]
935 [% IF subscription.branchcode %]
936 <h3>At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode %]</h3>
938 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
939 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %] </p>[% END %]
940 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
941 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
942 [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %]
943 [% IF ( subscription.latestserials ) %]
944 <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p>
948 <th>Date arrived</th>
949 <th>Date published</th>
953 [% FOREACH latestserial IN subscription.latestserials %]
955 <td>[% latestserial.serialseq %]</td>
956 <td>[% latestserial.planneddate %]</td>
957 <td>[% latestserial.publisheddate%]</td>
959 [% IF ( latestserial.status1 ) %]Expected[% END %]
960 [% IF ( latestserial.status2 ) %]Arrived[% END %]
961 [% IF ( latestserial.status3 ) %]Late[% END %]
962 [% IF ( latestserial.status4 ) %]Missing[% END %]
963 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
964 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
965 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
966 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
967 [% IF ( latestserial.status5 ) %]Not issued[% END %]
968 [% IF ( latestserial.status6 ) %]Delete[% END %]
969 [% IF ( latestserial.status7 ) %]Claimed[% END %]
970 [% IF ( latestserial.status8 ) %]Stopped[% END %]
972 <td>[% latestserial.notes %]</td>
977 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription details</a>
984 [% IF Koha.Preference('AcquisitionDetails') %]
985 <div id="acq_details">
991 <th>Basket group</th>
993 <th>Order number</th>
994 <th class="title-string">Creation date</th>
995 <th class="title-string">Receive date</th>
1001 [% FOR order IN orders %]
1005 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="Vendor detail page">[% order.name %]</a>
1009 [% IF (order.basketgroupid) %]
1010 [% IF CAN_user_acquisition_group_manage %]
1011 <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.id %]&basketgroupid=[% order.basketgroupid %]">[% order.groupname %] ([% order.basketgroupid %])</a>
1013 [% order.groupname %] ([% order.basketgroupid %])
1017 <td>[% IF CAN_user_acquisition_order_manage %]
1018 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %] ([% order.basketno %])</a>
1020 [% order.basketname %] ([% order.basketno %])
1022 <td>[% order.ordernumber %]</td>
1023 <td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td>
1024 <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
1026 [% SWITCH order.orderstatus %]
1028 [% CASE 'ordered' %]Ordered
1029 [% CASE 'partial' %]Partial
1030 [% CASE 'complete' %]Complete
1031 [% CASE 'cancelled' %]Cancelled
1034 <td>[% order.quantity %]</td>
1040 There is no order for this biblio.
1045 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
1046 <div id="editions"><h4>Editions</h4>
1048 [% 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 %]
1049 [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
1050 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author | html %] ©[% XISBN.copyrightdate %]
1051 [% IF ( XISBN.publishercode ) %]
1052 [% 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 %]
1054 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages %] [% IF ( XISBN.illus ) %][% XISBN.illus %][% END %]
1055 [% IF ( XISBN.size ) %], [% END %][% XISBN.size %]
1059 </table></div>[% END %]
1062 [% IF ( LocalCoverImages ) %]
1064 [% IF ( localimages.0 ) %]
1065 <p>Click on an image to view it in the image viewer</p>
1066 <ul class="thumbnails">
1067 [% FOREACH image IN localimages %]
1069 <li id="imagenumber-[% image %]">
1070 <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]">
1071 <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" />
1072 [% IF CAN_user_tools_upload_local_cover_images %]
1073 <span class="remove" title="remove this image">Delete image</span>
1080 [%# ELSE - No image passed JavaScript takes care %]
1085 [% IF ( HTML5MediaEnabled ) %]
1086 <div id="html5media">
1087 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1089 <[% HTML5MediaParent %] controls preload=none>
1090 <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
1091 [[% HTML5MediaParent %] tag not supported by your browser.]
1092 </[% HTML5MediaParent %]>
1099 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
1100 <div id="NovelistSelect" class="novelistSelect">
1101 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
1105 </div><!-- /bibliodetails -->
1107 <div class="yui-g" id="export" style="margin-top: 1em;">
1108 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
1110 <th>Save Record</th> </tr>
1111 <tr><td> Select download format: <select name="format">
1112 <option value="mods">MODS (XML)</option>
1113 <option data-toggle="modal" data-target="#exportModal_">Dublin Core</option>
1114 <option value="marcxml">MARCXML</option>
1115 <option value="marc8">MARC (non-Unicode/MARC-8)</option>
1116 <option value="utf8">MARC (Unicode/UTF-8)</option> </select>
1117 <input type="submit" name="save" value="Download Record" /></td>
1120 <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber %]" />
1126 <div id="marcPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
1127 <div class="modal-dialog modal-lg">
1128 <div class="modal-content">
1129 <div class="modal-header">
1130 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
1131 <h3 id="marcPreviewLabel">MARC preview</h3>
1133 <div class="modal-body">
1134 <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
1136 <div class="modal-footer">
1137 <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
1146 [% INCLUDE 'biblio-view-menu.inc' %]
1151 [% INCLUDE 'intranet-bottom.inc' %]