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 %]
28 [% INCLUDE 'doc-head-close.inc' %]<script type="text/JavaScript">
30 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
31 function verify_images() {
32 $("#bookcoverimg").each(function(i){
33 $(this).find('img').each(function(i){
34 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'))) {
37 if ((w == 1) || (h == 1)) {
38 $("#amazon-bookcoverimg").remove();
39 $(".yui-gb").attr("class","yui-g");
40 } else if ((this.complete != null) && (!this.complete)) {
41 $("#amazon-bookcoverimg").remove();
42 $(".yui-gb").attr("class","yui-g");
46 if( $(this).find('img').length < 1 ) $(this).remove();
48 $("#editions img").each(function(i){
49 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'))) {
52 if ((w == 1) || (h == 1)) {
53 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
54 } else if ((this.complete != null) && (!this.complete)) {
55 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
61 function removeLocalImage(imagenumber) {
64 url: "/cgi-bin/koha/svc/cover_images?action=delete&biblionumber=" + [% biblionumber %] + "&imagenumber=" + imagenumber,
65 success: function(data) {
66 $(data).each( function(i) {
67 if ( this.deleted == 1 ) {
68 $('#imagenumber-' + this.imagenumber).remove();
70 if ( $('ul.thumbnails > li').length == 0 ) {
75 error: function(data) {
76 alert(_("An error occurred on deleting this image"));
82 function showNoImageMessage() {
84 var no_images_msg = _("No images have been uploaded for this bibliographic record yet.");
85 no_images_msg = '<p>' + no_images_msg + '</p>';
86 [% IF ( CAN_user_tools_upload_local_cover_images ) %]
87 var please_upload = _("Please select the image file to upload. %sUpload%s").format(
88 "<a class='btn' href='/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&filetype=image'>",
90 no_images_msg += "<p id='upload_image'>" + please_upload + '</p>';
93 $('#images').html(no_images_msg);
96 [% IF StaffDetailItemSelection %]
98 function itemSelectionBuildDeleteLink(div) {
99 var itemnumbers = new Array();
100 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
101 itemnumbers.push($(this).val());
103 if (itemnumbers.length > 0) {
104 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1';
105 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
106 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
107 $('a.itemselection_action_delete').attr('href', url);
114 function itemSelectionBuildModifyLink(div) {
115 var itemnumbers = new Array();
116 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
117 itemnumbers.push($(this).val());
119 if (itemnumbers.length > 0) {
120 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show';
121 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
122 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
123 $('a.itemselection_action_modify').attr('href', url);
130 function itemSelectionBuildActionLinks(tab) {
131 var div = $("#" + tab);
132 var delete_link_ok = itemSelectionBuildDeleteLink(div);
133 var modify_link_ok = itemSelectionBuildModifyLink(div);
134 if (modify_link_ok || delete_link_ok) {
135 $('.itemselection_actions', div).show();
137 $('.itemselection_actions', div).hide();
141 $(document).ready(function() {
143 $('table.items_table').each(function() {
144 var div = $(this).parent().attr("id");
145 itemSelectionBuildActionLinks(div);
148 $("input[name='itemnumber'][type='checkbox']").change(function() {
149 var div = $(this).parents('table').parent().parent().attr("id");
150 itemSelectionBuildActionLinks(div);
153 $(".SelectAll").on("click",function(e){
155 var tab = $(this).data("tab");
156 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', true);
157 itemSelectionBuildActionLinks(tab);
160 $(".ClearAll").on("click",function(e){
162 var tab = $(this).data("tab");
163 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', false);
164 itemSelectionBuildActionLinks(tab);
170 $(document).ready(function() {
171 $('#bibliodetails').tabs();
172 $('#search-form').focus();
173 $('.thumbnails > li > a > span.remove').click(function() {
174 var result = confirm(_("Are you sure you want to delete this cover image?"));
176 if ( result == true ) {
177 var imagenumber = $(this).parent().parent().attr('id').split('-')[1];
178 removeLocalImage(imagenumber);
183 [%# inject no images message %]
184 [% IF ( LocalCoverImages && ! localimages.0 ) %]
185 showNoImageMessage();
187 [% IF LocalCoverImages %]
188 KOHA.LocalCover.GetCoverFromBibnumber(true);
190 $("body").on("click",".previewMARC", function(e){
192 var page = $(this).attr("href");
193 $("#marcPreview .modal-body").load(page + " table");
194 $('#marcPreview').modal({show:true});
196 $("#marcPreview").on("hidden", function(){
197 $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
201 [% IF ( AmazonCoverImages || LocalCoverImages ) %]$(window).load(function() {
206 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
207 [% INCLUDE 'datatables.inc' %]
208 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script>
209 [% INCLUDE 'browser-strings.inc' %]
211 <script type="text/javascript" src="[% interface %]/lib/shims/json2.min.js"></script>
213 <script type="text/javascript" src="[% interface %]/js/browser.js"></script>
214 <script type="text/javascript">
216 var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
219 function activate_filters(id) {
220 var table = $("#" + id + " table");
221 if (table.length == 1) {
222 filters_row = table.find('thead tr.filters_row');
225 filters_row.find('th').each(function() {
226 if(this.className === "NoSort"){
227 aoColumns.push(null);
229 aoColumns.push('text');
233 if (table.find('thead tr.columnFilter').length == 0) {
234 table.dataTable().columnFilter({
235 'sPlaceHolder': 'head:after'
236 , 'aoColumns': aoColumns
238 filters_row.addClass('columnFilter');
243 $('#' + id + '_activate_filters')
244 .html('<i class="fa fa-filter"></i> ' + _("Deactivate filters") )
247 deactivate_filters(id);
252 function deactivate_filters(id) {
253 filters_row = $("#" + id + " table").find('thead tr.filters_row');
255 filters_row.find('input[type="text"]')
256 .val('') // Empty filter text boxes
257 .trigger('keyup') // Filter (display all rows)
258 .trigger('blur'); // Reset value to the column name
261 $('#' + id + '_activate_filters')
262 .html('<i class="fa fa-filter"></i> ' + _("Activate filters") )
265 activate_filters(id);
270 $(document).ready(function() {
271 var ids = ['holdings', 'otherholdings'];
274 var table = $('#' + id + ' table');
276 // Duplicate the table header row for columnFilter
277 thead_row = table.find('thead tr');
278 clone = thead_row.clone().addClass('filters_row');
279 clone.find("th.NoSort").html('');
280 thead_row.before(clone);
283 table.dataTable($.extend(true, {}, dataTablesDefaults, {
288 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }
292 // Show a link to activate filtering
295 .attr('id', id + '_activate_filters');
296 $("." + id + "_table_controls").prepend(link);
297 deactivate_filters(id);
299 [% IF Koha.Preference('AcquisitionDetails') %]
300 $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
304 "aaSorting": [[ 4, "desc" ]],
306 { "aTargets": "title-string", "sType": "title-string" }
316 <body id="catalog_detail" class="catalog">
318 [% INCLUDE 'header.inc' %]
319 [% INCLUDE 'cat-search.inc' %]
321 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
322 [% IF ( unknownbiblionumber ) %]
325 Details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i>
329 <div id="doc3" class="yui-t2">
331 [% IF ( unknownbiblionumber ) %]
332 <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
338 [% INCLUDE 'cat-toolbar.inc' %]
340 <!-- COinS / OpenURL -->
341 <span class="Z3988" title="[% ocoins %]"></span>
344 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
345 [% IF ( XSLTDetailsDisplay ) %]
347 <div id="catalogue_detail_biblio" class="yui-u first">
350 <div id="catalogue_detail_biblio" class="yui-u first">
353 [% IF ( XSLTDetailsDisplay ) %]
355 <div id="catalogue_detail_biblio">
358 <div id="catalogue_detail_biblio" class="yui-u first">
362 [% IF ( XSLTDetailsDisplay ) %]
365 [% IF shelves.count %]
366 <span class="results_summary"><span class="label">Lists that include this title: </span>
367 [% FOREACH s IN shelves %]
368 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a>
369 [% IF ( loop.last ) %][% ELSE %]|[% END %]
373 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
374 <span class="results_summary"><span class="label">Tags:</span>
375 [% FOREACH TagLoo IN TagLoop %]
376 [% IF ( CAN_user_tools_moderate_tags ) %]
377 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
379 [% TagLoo.term |html %]
381 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
385 <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>
387 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
388 </div><div class="yui-u" id="bookcoverimg">
389 [% IF ( LocalCoverImages ) %]
390 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
392 [% IF ( AmazonCoverImages ) %]
393 <div id="amazon-bookcoverimg">
394 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
395 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
401 <h3>[% title |html %]</h3>
402 [% FOREACH subtitl IN subtitle %]
403 <h4>[% subtitl.subfield %]</h4>
405 [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% translated_description %]" title="[% translated_description %]">[% END %]
406 [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
407 [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author %]</a></p>[% END %]
409 [% IF ( MARCAUTHORS ) %]
410 <li><strong>Additional authors:</strong><ul>
411 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
412 <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>
418 [% IF ( MARCSERIES ) %]
419 <li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
420 <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>
425 [% IF ( publishercode ) %]
426 <li><strong>Published by:</strong>
427 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
428 [% publishercode |html %]
429 </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsability ) %][% editionresponsability %][% END %]
432 <li><strong>Description:</strong>
433 [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %]
434 [% IF ( size ) %][% size %][% END %]
436 [% IF ( MARCURLS ) %]<li>
438 <strong>Online resources:</strong>
439 <ul> [% FOREACH MARCurl IN MARCURLS %]
440 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
442 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
443 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">[% MARCurl.linktext %]</a>
444 [% IF ( MARCurl.notes ) %]<ul>[% FOREACH note IN MARCurl.notes %]<li>[% note.note %]</li>[% END %]</ul>[% END %]</li>
449 [% IF ( OPACBaseURL ) %]
450 <li><strong>OPAC view:</strong>
451 <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a>
454 <li id="catalogue_detail_marc_preview">
455 <strong>MARC Preview:</strong>
456 <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a>
461 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
462 <div class="yui-u" id="bookcoverimg">
463 [% IF ( LocalCoverImages ) %]
464 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
466 [% IF ( AmazonCoverImages ) %]
467 <div id="amazon-bookcoverimg">
468 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
469 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
476 <div class="yui-u" style="margin-top: 1em;">
478 [% IF ( MARCISBNS ) %]
479 <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN %]</li>[% END %]</ul></li>
481 [% IF ( normalized_isbn ) %]
482 <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
486 <li><strong>ISSN:</strong>[% issn %]</li>
488 [% IF ( collectiontitle ) %]
489 <li><strong>Collection: </strong>
490 [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn %])[% END %]
493 [% IF ( MARCSUBJCTS ) %]
494 <li><strong>Subjects:</strong>
496 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
497 <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>
502 [% IF ( copyrightdate ) %]
503 <li><strong>Copyright:</strong> [% copyrightdate %]</li>
506 [% IF ( classification ) %]
507 <li><strong>Classification:</strong> [% subclass %][% classification %]</li>
510 <li><strong>Dewey:</strong> [% dewey %]</li>
513 <li><strong>url:</strong>
514 [% FOREACH url IN urlS %]
515 <a href="[% url.url %]">[% url.url %]</a>
519 <!--This grabs all of the lists a bib record appears in -->
521 <li><strong>Lists that include this title: </strong>
523 [% FOREACH s IN shelves %]
524 <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></li>
529 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
530 <li><strong>Tags:</strong>
532 [% FOREACH TagLoo IN TagLoop %]
534 [% IF ( CAN_user_tools_moderate_tags ) %]
535 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
537 [% TagLoo.term |html %]
539 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
543 [% 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 %]
549 <div id="bibliodetails" class="toptabs">
552 [% IF (SeparateHoldings) %]
553 <li><a href="#holdings">[% LoginBranchname %] holdings</a></li>
554 <li><a href="#otherholdings">Other holdings</a></li>
556 <li><a href="#holdings">Holdings</a></li>
558 [% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %]
559 [% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
560 [% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
561 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %]
562 [% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %]
563 [% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %]
566 [% items_table_block_iter = 0 %]
567 [% BLOCK items_table %]
568 [% items_table_block_iter = items_table_block_iter + 1 %]
569 <div class="[% tab %]_table_controls">
570 [% IF (StaffDetailItemSelection) %]
571 | <a href="#" class="SelectAll" data-tab="[% tab %]"><i class="fa fa-check"></i> Select all</a> |
572 <a href="#" class="ClearAll" data-tab="[% tab %]"><i class="fa fa-remove"></i> Clear all</a>
573 <span class="itemselection_actions">
575 [% IF CAN_user_tools_items_batchdel %]
576 <a class="itemselection_action_delete"><i class="fa fa-trash"></i> Delete selected items</a>
578 [% IF CAN_user_tools_items_batchmod %]
579 <a class="itemselection_action_modify"><i class="fa fa-pencil"></i> Modify selected items</a>
584 <table class="items_table">
587 [% IF (StaffDetailItemSelection) %]<th class="NoSort"></th>[% END %]
588 [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %]
589 <th>Current location</th>
590 <th>Home library</th>
591 [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
596 [% IF ( volinfo ) %]<th>Publication details</th>[% END %]
597 [% IF ( itemdata_uri ) %]<th>url</th>[% END %]
598 [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
599 [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %]
600 [% IF materials %]<th>Materials specified</th>[% END %]
601 [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
602 [% IF ( itemdata_nonpublicnotes ) %]<th>Non-public notes</th>[% END %]
603 [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
604 [% IF ( hostrecords ) %]<th>Host records</th>[% END %]
605 [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
606 [% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %]
607 [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort"> </th>[% END %]
611 [% FOREACH item IN items %]
613 [% IF (StaffDetailItemSelection) %]
614 <td style="text-align:center;vertical-align:middle">
615 <input type="checkbox" value="[% item.itemnumber %]" name="itemnumber" />
618 [% IF ( item_level_itypes ) %]
620 [% IF !noItemTypeImages && item.imageurl %]
621 <img src="[% item.imageurl %]" alt="[% item.translated_description %]" title="[% item.translated_description %]" />
623 [% item.translated_description %]
626 <td class="location">[% UNLESS ( singlebranchmode ) %][% item.branchname %] [% END %]</td>
627 <td class="homebranch">[% Branches.GetName(item.homebranch) %]<span class="shelvingloc">[% item.location %]</span> </td>
628 [% IF ( itemdata_ccode ) %]<td>[% item.ccode %]</td>[% END %]
629 <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber %][% END %]</td>
632 [% IF ( item.datedue ) %]
633 [% IF item.onsite_checkout %]
634 <span>Currently in local use
636 <span class="datedue">Checked out
638 [% UNLESS ( item.NOTSAMEBRANCH ) %]
639 [% IF item.onsite_checkout %]
640 by <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
642 to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
644 [% IF ( item.hidepatronname ) %]
645 [% item.cardnumber %]
647 [% item.firstname %] [% item.surname %]
651 : due [% item.datedue %]
653 [% ELSIF ( item.transfertwhen ) %]
654 <span class="intransit">In transit from [% item.transfertfrom %] to [% item.transfertto %] since [% item.transfertwhen | $KohaDates %]</span>
657 [% IF ( item.itemlost ) %]
658 [% IF itemlostloop %]
659 [% FOREACH itemlostloo IN itemlostloop %]
660 [% IF itemlostloo.authorised_value == item.itemlost %]
661 <span class="lost">[% itemlostloo.lib %]</span>
665 <span class="lost">Unavailable (lost or missing)</span>
669 [% IF ( item.withdrawn ) %]
670 <span class="wdn">Withdrawn</span>
673 [% IF ( item.damaged ) %]
674 [% IF itemdamagedloop %]
675 [% FOREACH itemdamagedloo IN itemdamagedloop %]
676 [% IF itemdamagedloo.authorised_value == item.damaged %]
677 <span class="dmg">[% itemdamagedloo.lib %]</span>
681 <span class="dmg">Damaged</span>
685 [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
687 [% IF ( item.notforloanvalue ) %]
688 ([% item.notforloanvalue %])
692 [% IF ( item.reservedate ) %]
693 [% IF ( item.waitingdate ) %]
698 [% IF ( canreservefromotherbranches ) %]
699 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.ReservedForBorrowernumber %]">
700 [% IF ( item.hidepatronname ) %]
701 [% item.Reservedcardnumber %]
703 [% item.ReservedForFirstname %] [% item.ReservedForSurname %]
707 [% IF ( item.waitingdate ) %]
708 at[% ELSE %]for delivery at
710 [% item.ExpectedAtLibrary %]
711 [% IF ( item.waitingdate ) %]
712 since [% item.waitingdate | $KohaDates %]
714 [% IF ( item.reservedate ) %]
715 (placed [% item.reservedate | $KohaDates %])
721 or item.notforloan_per_itemtype
726 or item.transfertwhen
732 [% IF ( item.restricted ) %]
733 <span class="restricted">([% item.restricted %])</span>
737 <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td>
738 <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>
740 <td class="enumchron">
741 [% IF ( itemdata_enumchron ) %]
742 [% IF item.enumchron && item.serialseq %]
743 <span class="enum">[% item.enumchron %]</span>
744 [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
745 <span class="sep"> -- </span>
746 <span class="serialseq">[% item.serialseq %]</span>
748 [% ELSIF item.enumchron %]
749 <span class="enum">[% item.enumchron %]</span>
750 [% ELSIF item.serialseq %]
751 <span class="serialseq">[% item.serialseq %]</span>
753 [% IF ( item.publisheddate ) %]
754 <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
759 [% IF ( itemdata_uri ) %]
760 <td class="uri"><a href="[% item.uri %]">[% item.uri %]</a></td>
762 [% IF ( itemdata_copynumber ) %]
763 <td class="copynumber">[% item.copynumber %]</td>
765 [% IF ( itemdata_stocknumber ) %]
766 <td class="stocknumber">[% item.stocknumber %]</td>
769 <td class="materials"> [% item.materials %] </td>
771 [% IF ( itemdata_itemnotes ) %]
772 <td><div class="itemnotes">[% item.itemnotes %]</div></td>
774 [% IF itemdata_nonpublicnotes %]
775 <td class="nonpublicnote">[% item.itemnotes_nonpublic %]</td>
777 [% IF ( SpineLabelShowPrintOnBibDetails ) %]
778 <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]" >Print label</a></td>
780 [% IF ( hostrecords ) %]
781 <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]" >[% item.hosttitle %]</a>[% END %]</td>
785 [% IF ( item.countanalytics ) %]
786 <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] analytics</a>
791 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">Create analytics</a></td>
794 [% IF ShowCourseReserves %]
796 [% IF item.course_reserves %]
797 [% FOREACH r IN item.course_reserves %]
798 [% IF r.course.enabled == 'yes' %]
800 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% r.course.course_id %]">
801 [% r.course.course_name %]
802 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
803 [% IF r.course.section %] [% r.course.section %] [% END %]
804 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
812 [% IF CAN_user_editcatalogue_edit_items %]
814 [% UNLESS item.cannot_be_edited %]
815 <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>
823 [% END %][%# end of block items_table %]
827 [% IF ( showncount ) %]
828 [% PROCESS items_table tab="holdings" items=itemloop %]
830 [% IF ( hiddencount ) %]
831 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">Show all items ([% hiddencount %] hidden)</a>
833 [% IF ( debug_display ) %]
836 <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr>
837 <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr>
838 <tr><td>serial</td><td>[% serial %]</td></tr>
842 [% IF ( ALTERNATEHOLDINGS ) %]
843 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
844 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
847 <div id="noitems">No physical items for this record</div>
852 [% IF (SeparateHoldings) %]
853 <div id="otherholdings">
854 [% IF (otheritemloop.size) %]
855 [% PROCESS items_table tab="otherholdings" items=otheritemloop %]
862 [% IF ( MARCNOTES || notes ) %]
864 <div id="description">
865 <div class="content_set">
867 [% IF ( MARCNOTES ) %]
868 [% FOREACH MARCNOTE IN MARCNOTES %]
870 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
871 <a href="[% MARCNOTE.marcnote %]">[% MARCNOTE.marcnote %]</a>
873 [% MARCNOTE.marcnote FILTER html_line_break %]
887 [% IF ( subscriptionsnumber ) %]
888 <div id="subscriptions">
890 <div id="catalogue_detail_subscriptions">
891 <h2>This is a serial subscription</h2>
892 <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p>
893 [% FOREACH subscription IN subscriptions %]
894 [% IF ( subscription.branchname ) %]<h3>At library: [% subscription.branchname %]</h3>[% ELSE %]
895 [% IF ( subscription.branchcode ) %]<h3>At library: [% subscription.branchcode %]</h3>[% END %][% END %]
896 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
897 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %] </p>[% END %]
898 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
899 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
900 [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %]
901 [% IF ( subscription.latestserials ) %]
902 <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p>
906 <th>Date arrived</th>
907 <th>Date published</th>
911 [% FOREACH latestserial IN subscription.latestserials %]
913 <td>[% latestserial.serialseq %]</td>
914 <td>[% latestserial.planneddate %]</td>
915 <td>[% latestserial.publisheddate%]</td>
917 [% IF ( latestserial.status1 ) %]Expected[% END %]
918 [% IF ( latestserial.status2 ) %]Arrived[% END %]
919 [% IF ( latestserial.status3 ) %]Late[% END %]
920 [% IF ( latestserial.status4 ) %]Missing[% END %]
921 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
922 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
923 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
924 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
925 [% IF ( latestserial.status5 ) %]Not issued[% END %]
926 [% IF ( latestserial.status6 ) %]Delete[% END %]
927 [% IF ( latestserial.status7 ) %]Claimed[% END %]
928 [% IF ( latestserial.status8 ) %]Stopped[% END %]
930 <td>[% latestserial.notes %]</td>
935 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription details</a>
942 [% IF Koha.Preference('AcquisitionDetails') %]
943 <div id="acq_details">
949 <th>Basket group</th>
951 <th>Order number</th>
952 <th class="title-string">Creation date</th>
953 <th class="title-string">Receive date</th>
959 [% FOR order IN orders %]
963 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="Vendor detail page">[% order.name %]</a>
967 [% IF (order.basketgroupid) %]
968 [% IF CAN_user_acquisition_group_manage %]
969 <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.id %]&basketgroupid=[% order.basketgroupid %]">[% order.groupname %] ([% order.basketgroupid %])</a>
971 [% order.groupname %] ([% order.basketgroupid %])
975 <td>[% IF CAN_user_acquisition_order_manage %]
976 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %] ([% order.basketno %])</a>
978 [% order.basketname %] ([% order.basketno %])
980 <td>[% order.ordernumber %]</td>
981 <td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td>
982 <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
984 [% SWITCH order.orderstatus %]
986 [% CASE 'ordered' %]Ordered
987 [% CASE 'partial' %]Partial
988 [% CASE 'complete' %]Complete
989 [% CASE 'cancelled' %]Cancelled
992 <td>[% order.quantity %]</td>
998 There is no order for this biblio.
1003 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
1004 <div id="editions"><h4>Editions</h4>
1006 [% 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 %]
1007 [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
1008 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author %] ©[% XISBN.copyrightdate %]
1009 [% IF ( XISBN.publishercode ) %]
1010 [% 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 %]
1012 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages %] [% IF ( XISBN.illus ) %][% XISBN.illus %][% END %]
1013 [% IF ( XISBN.size ) %], [% END %][% XISBN.size %]
1017 </table></div>[% END %]
1020 [% IF ( LocalCoverImages ) %]
1022 [% IF ( localimages.0 ) %]
1023 <p>Click on an image to view it in the image viewer</p>
1024 <ul class="thumbnails">
1025 [% FOREACH image IN localimages %]
1027 <li id="imagenumber-[% image %]">
1028 <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]">
1029 <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" />
1030 [% IF CAN_user_tools_upload_local_cover_images %]
1031 <span class="remove" title="remove this image">Delete image</span>
1038 [%# ELSE - No image passed JavaScript takes care %]
1043 [% IF ( HTML5MediaEnabled ) %]
1044 <div id="html5media">
1045 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1047 <[% HTML5MediaParent %] controls preload=none>
1048 <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
1049 [[% HTML5MediaParent %] tag not supported by your browser.]
1050 </[% HTML5MediaParent %]>
1057 </div><!-- /bibliodetails -->
1059 <div class="yui-g" id="export" style="margin-top: 1em;">
1060 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
1062 <th>Save Record</th> </tr>
1063 <tr><td> Select download format: <select name="format">
1064 <option value="mods">MODS (XML)</option>
1065 <option data-toggle="modal" data-target="#exportModal_">Dublin Core</option>
1066 <option value="marcxml">MARCXML</option>
1067 <option value="marc8">MARC (non-Unicode/MARC-8)</option>
1068 <option value="utf8">MARC (Unicode/UTF-8)</option> </select>
1069 <input type="submit" name="save" value="Download Record" /></td>
1072 <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber %]" />
1078 <div id="marcPreview" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
1079 <div class="modal-header">
1080 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
1081 <h3 id="marcPreviewLabel">MARC preview</h3>
1083 <div class="modal-body">
1084 <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
1086 <div class="modal-footer">
1087 <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
1094 [% INCLUDE 'biblio-view-menu.inc' %]
1099 [% INCLUDE 'intranet-bottom.inc' %]