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 %]
97 function selectAllItems(div) {
98 $("input[name='itemnumber'][type='checkbox']", div).attr('checked', 'checked');
99 itemSelectionBuildActionLinks(div);
102 function clearAllItems(div) {
103 $("input[name='itemnumber'][type='checkbox']", div).removeAttr('checked');
104 itemSelectionBuildActionLinks(div);
107 function itemSelectionBuildDeleteLink(div) {
108 var itemnumbers = new Array();
109 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
110 itemnumbers.push($(this).val());
112 if (itemnumbers.length > 0) {
113 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1';
114 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
115 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
116 $('a.itemselection_action_delete').attr('href', url);
117 $('a.itemselection_action_delete').show();
119 $('a.itemselection_action_delete').hide();
125 function itemSelectionBuildModifyLink(div) {
126 var itemnumbers = new Array();
127 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
128 itemnumbers.push($(this).val());
130 if (itemnumbers.length > 0) {
131 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show';
132 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
133 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
134 $('a.itemselection_action_modify').attr('href', url);
135 $('a.itemselection_action_modify').show();
137 $('a.itemselection_action_modify').hide();
143 function itemSelectionBuildActionLinks(div) {
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() {
154 $('table.items_table').each(function() {
155 var div = $(this).parent().parent();
156 itemSelectionBuildActionLinks(div);
158 $("input[name='itemnumber'][type='checkbox']").change(function() {
159 var div = $(this).parents('table').parent().parent();
160 itemSelectionBuildActionLinks(div);
165 $(document).ready(function() {
166 $('#bibliodetails').tabs();
167 $('#search-form').focus();
168 $('.thumbnails > li > a > span.remove').click(function() {
169 var result = confirm(_("Are you sure you want to delete this cover image?"));
171 if ( result == true ) {
172 var imagenumber = $(this).parent().parent().attr('id').split('-')[1];
173 removeLocalImage(imagenumber);
178 [%# inject no images message %]
179 [% IF ( LocalCoverImages && ! localimages.0 ) %]
180 showNoImageMessage();
182 [% IF LocalCoverImages %]
183 KOHA.LocalCover.GetCoverFromBibnumber(true);
185 $("body").on("click",".previewMARC", function(e){
187 var page = $(this).attr("href");
188 $("#marcPreview .modal-body").load(page + " table");
189 $('#marcPreview').modal({show:true});
191 $("#marcPreview").on("hidden", function(){
192 $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
196 [% IF ( AmazonCoverImages || LocalCoverImages ) %]$(window).load(function() {
201 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
202 [% INCLUDE 'datatables.inc' %]
203 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script>
204 [% INCLUDE 'browser-strings.inc' %]
206 <script type="text/javascript" src="[% interface %]/lib/shims/json2.min.js"></script>
208 <script type="text/javascript" src="[% interface %]/js/browser.js"></script>
209 <script type="text/javascript">
211 var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
214 function activate_filters(id) {
215 var table = $("#" + id + " table");
216 if (table.length == 1) {
217 filters_row = table.find('thead tr.filters_row');
220 filters_row.find('th').each(function() {
221 if(this.className === "NoSort"){
222 aoColumns.push(null);
224 aoColumns.push('text');
228 if (table.find('thead tr.columnFilter').length == 0) {
229 table.dataTable().columnFilter({
230 'sPlaceHolder': 'head:after'
231 , 'aoColumns': aoColumns
233 filters_row.addClass('columnFilter');
238 $('#' + id + '_activate_filters')
239 .text(_("Deactivate filters"))
242 deactivate_filters(id);
247 function deactivate_filters(id) {
248 filters_row = $("#" + id + " table").find('thead tr.filters_row');
250 filters_row.find('input[type="text"]')
251 .val('') // Empty filter text boxes
252 .trigger('keyup') // Filter (display all rows)
253 .trigger('blur'); // Reset value to the column name
256 $('#' + id + '_activate_filters')
257 .text(_("Activate filters"))
260 activate_filters(id);
265 $(document).ready(function() {
266 var ids = ['holdings', 'otherholdings'];
269 var table = $('#' + id + ' table');
271 // Duplicate the table header row for columnFilter
272 thead_row = table.find('thead tr');
273 clone = thead_row.clone().addClass('filters_row');
274 clone.find("th.NoSort").html('');
275 thead_row.before(clone);
278 table.dataTable($.extend(true, {}, dataTablesDefaults, {
283 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }
287 // Show a link to activate filtering
290 .attr('id', id + '_activate_filters');
292 deactivate_filters(id);
294 [% IF Koha.Preference('AcquisitionDetails') %]
295 $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
299 "aaSorting": [[ 4, "desc" ]],
301 { "aTargets": "title-string", "sType": "title-string" }
311 <body id="catalog_detail" class="catalog">
313 [% INCLUDE 'header.inc' %]
314 [% INCLUDE 'cat-search.inc' %]
316 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
317 [% IF ( unknownbiblionumber ) %]
320 Details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i>
324 <div id="doc3" class="yui-t2">
326 [% IF ( unknownbiblionumber ) %]
327 <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
333 [% INCLUDE 'cat-toolbar.inc' %]
335 <!-- COinS / OpenURL -->
336 <span class="Z3988" title="[% ocoins %]"></span>
339 [% IF ( AmazonCoverImages ) %]
340 [% IF ( XSLTDetailsDisplay ) %]
342 <div id="catalogue_detail_biblio" class="yui-u first">
345 <div id="catalogue_detail_biblio" class="yui-u first">
348 [% IF ( XSLTDetailsDisplay ) %]
350 <div id="catalogue_detail_biblio">
353 <div id="catalogue_detail_biblio" class="yui-u first">
357 [% IF ( XSLTDetailsDisplay ) %]
360 [% IF shelves.count %]
361 <span class="results_summary"><span class="label">Lists that include this title: </span>
362 [% FOREACH s IN shelves %]
363 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a>
364 [% IF ( loop.last ) %][% ELSE %]|[% END %]
368 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
369 <span class="results_summary"><span class="label">Tags:</span>
370 [% FOREACH TagLoo IN TagLoop %]
371 [% IF ( CAN_user_tools_moderate_tags ) %]
372 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
374 [% TagLoo.term |html %]
376 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
380 <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>
381 [% IF ( holdcount ) %]<span class="results_summary"><span class="label">Holds:</span> <span class="holdcount"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></span>[% ELSE %][% END %]
383 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
384 </div><div class="yui-u" id="bookcoverimg">
385 [% IF ( LocalCoverImages ) %]
386 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
388 [% IF ( AmazonCoverImages ) %]
389 <div id="amazon-bookcoverimg">
390 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
391 <img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
397 <h3>[% title |html %]</h3>
398 [% FOREACH subtitl IN subtitle %]
399 <h4>[% subtitl.subfield %]</h4>
401 [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% translated_description %]" title="[% translated_description %]">[% END %]
402 [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
403 [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author %]</a></p>[% END %]
405 [% IF ( MARCAUTHORS ) %]
406 <li><strong>Additional authors:</strong><ul>
407 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
408 <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>
414 [% IF ( MARCSERIES ) %]
415 <li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
416 <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>
421 [% IF ( publishercode ) %]
422 <li><strong>Published by:</strong>
423 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
424 [% publishercode |html %]
425 </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsability ) %][% editionresponsability %][% END %]
428 <li><strong>Description:</strong>
429 [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %]
430 [% IF ( size ) %][% size %][% END %]
432 [% IF ( MARCURLS ) %]<li>
434 <strong>Online resources:</strong>
435 <ul> [% FOREACH MARCurl IN MARCURLS %]
436 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
438 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
439 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">[% MARCurl.linktext %]</a>
440 [% IF ( MARCurl.notes ) %]<ul>[% FOREACH note IN MARCurl.notes %]<li>[% note.note %]</li>[% END %]</ul>[% END %]</li>
445 [% IF ( OPACBaseURL ) %]
446 <li><strong>OPAC view:</strong>
447 <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a>
450 <li id="catalogue_detail_marc_preview">
451 <strong>MARC Preview:</strong>
452 <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a>
457 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
458 <div class="yui-u" id="bookcoverimg">
459 [% IF ( LocalCoverImages ) %]
460 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
462 [% IF ( AmazonCoverImages ) %]
463 <div id="amazon-bookcoverimg">
464 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
465 <img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
472 <div class="yui-u" style="margin-top: 1em;">
474 [% IF ( MARCISBNS ) %]
475 <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN %]</li>[% END %]</ul></li>
477 [% IF ( normalized_isbn ) %]
478 <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
482 <li><strong>ISSN:</strong>[% issn %]</li>
484 [% IF ( collectiontitle ) %]
485 <li><strong>Collection: </strong>
486 [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn %])[% END %]
489 [% IF ( MARCSUBJCTS ) %]
490 <li><strong>Subjects:</strong>
492 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
493 <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>
498 [% IF ( copyrightdate ) %]
499 <li><strong>Copyright:</strong> [% copyrightdate %]</li>
502 [% IF ( classification ) %]
503 <li><strong>Classification:</strong> [% subclass %][% classification %]</li>
506 <li><strong>Dewey:</strong> [% dewey %]</li>
509 <li><strong>url:</strong>
510 [% FOREACH url IN urlS %]
511 <a href="[% url.url %]">[% url.url %]</a>
515 <!--This grabs all of the lists a bib record appears in -->
517 <li><strong>Lists that include this title: </strong>
519 [% FOREACH s IN shelves %]
520 <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></li>
525 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
526 <li><strong>Tags:</strong>
528 [% FOREACH TagLoo IN TagLoop %]
530 [% IF ( CAN_user_tools_moderate_tags ) %]
531 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
533 [% TagLoo.term |html %]
535 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
539 [% 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 %]
545 <div id="bibliodetails" class="toptabs">
548 [% IF (SeparateHoldings) %]
549 <li><a href="#holdings">[% LoginBranchname %] holdings</a></li>
550 <li><a href="#otherholdings">Other holdings</a></li>
552 <li><a href="#holdings">Holdings</a></li>
554 [% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %]
555 [% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
556 [% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
557 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %]
558 [% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %]
559 [% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %]
562 [% items_table_block_iter = 0 %]
563 [% BLOCK items_table %]
564 [% items_table_block_iter = items_table_block_iter + 1 %]
565 [% IF (StaffDetailItemSelection) %]
566 <a href="#" onclick="selectAllItems($(this).parent()); return false;">Select all</a> |
567 <a href="#" onclick="clearAllItems($(this).parent()); return false;">Clear all</a>
568 <span class="itemselection_actions">
570 [% IF CAN_user_tools_items_batchdel %]
571 <a class="itemselection_action_delete">Delete selected items</a>
573 [% IF CAN_user_tools_items_batchmod %]
574 <a class="itemselection_action_modify">Modify selected items</a>
578 <table class="items_table">
581 [% IF (StaffDetailItemSelection) %]<th class="NoSort"></th>[% END %]
582 [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %]
583 <th>Current location</th>
584 <th>Home library</th>
585 [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
590 [% IF ( volinfo ) %]<th>Publication details</th>[% END %]
591 [% IF ( itemdata_uri ) %]<th>url</th>[% END %]
592 [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
593 [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %]
594 [% IF materials %]<th>Materials specified</th>[% END %]
595 [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
596 [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
597 [% IF ( hostrecords ) %]<th>Host records</th>[% END %]
598 [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
599 [% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %]
600 [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort">Edit</th>[% END %]
604 [% FOREACH item IN items %]
606 [% IF (StaffDetailItemSelection) %]
607 <td style="text-align:center;vertical-align:middle">
608 <input type="checkbox" value="[% item.itemnumber %]" name="itemnumber" />
611 [% IF ( item_level_itypes ) %]
613 [% IF !noItemTypeImages && item.imageurl %]
614 <img src="[% item.imageurl %]" alt="[% item.translated_description %]" title="[% item.translated_description %]" />
616 [% item.translated_description %]
619 <td class="location">[% UNLESS ( singlebranchmode ) %][% item.branchname %] [% END %]</td>
620 <td class="homebranch">[% Branches.GetName(item.homebranch) %]<span class="shelvingloc">[% item.location %]</span> </td>
621 [% IF ( itemdata_ccode ) %]<td>[% item.ccode %]</td>[% END %]
622 <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber %][% END %]</td>
625 [% IF ( item.datedue ) %]
626 [% IF item.onsite_checkout %]
627 <span>Currently in local use
629 <span class="datedue">Checked out
631 [% UNLESS ( item.NOTSAMEBRANCH ) %]
632 [% IF item.onsite_checkout %]
633 by <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
635 to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
637 [% IF ( item.hidepatronname ) %]
638 [% item.cardnumber %]
640 [% item.firstname %] [% item.surname %]
644 : due [% item.datedue %]
646 [% ELSIF ( item.transfertwhen ) %]
647 <span class="intransit">In transit from [% item.transfertfrom %] to [% item.transfertto %] since [% item.transfertwhen | $KohaDates %]</span>
650 [% IF ( item.itemlost ) %]
651 [% IF ( item.itemlostloop ) %]
652 [% FOREACH itemlostloo IN item.itemlostloop %]
653 [% IF ( itemlostloo.selected ) %]
654 <span class="lost">[% itemlostloo.lib %]</span>
658 <span class="lost">Unavailable (lost or missing)</span>
662 [% IF ( item.withdrawn ) %]
663 <span class="wdn">Withdrawn</span>
666 [% IF ( item.damaged ) %]
667 [% IF ( item.itemdamagedloop ) %]
668 [% FOREACH itemdamagedloo IN item.itemdamagedloop %]
669 [% IF ( itemdamagedloo.selected ) %]
670 <span class="dmg">[% itemdamagedloo.lib %]</span>
674 <span class="dmg">Damaged</span>
678 [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
680 [% IF ( item.notforloanvalue ) %]
681 ([% item.notforloanvalue %])
685 [% IF ( item.reservedate ) %]
686 [% IF ( item.waitingdate ) %]
691 [% IF ( canreservefromotherbranches ) %]
692 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.ReservedForBorrowernumber %]">
693 [% IF ( item.hidepatronname ) %]
694 [% item.Reservedcardnumber %]
696 [% item.ReservedForFirstname %] [% item.ReservedForSurname %]
700 [% IF ( item.waitingdate ) %]
701 at[% ELSE %]for delivery at
703 [% item.ExpectedAtLibrary %]
704 [% IF ( item.waitingdate ) %]
705 since [% item.waitingdate | $KohaDates %]
707 [% IF ( item.reservedate ) %]
708 (placed [% item.reservedate | $KohaDates %])
714 or item.notforloan_per_itemtype
719 or item.transfertwhen
725 [% IF ( item.restricted ) %]
726 <span class="restricted">([% item.restricted %])</span>
730 <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td>
731 <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>
733 <td class="enumchron">
734 [% IF ( itemdata_enumchron ) %]
735 [% IF item.enumchron && item.serialseq %]
736 <span class="enum">[% item.enumchron %]</span>
737 [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
738 <span class="sep"> -- </span>
739 <span class="serialseq">[% item.serialseq %]</span>
741 [% ELSIF item.enumchron %]
742 <span class="enum">[% item.enumchron %]</span>
743 [% ELSIF item.serialseq %]
744 <span class="serialseq">[% item.serialseq %]</span>
746 [% IF ( item.publisheddate ) %]
747 <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
752 [% IF ( itemdata_uri ) %]
753 <td class="uri"><a href="[% item.uri %]">[% item.uri %]</a></td>
755 [% IF ( itemdata_copynumber ) %]
756 <td class="copynumber">[% item.copynumber %]</td>
758 [% IF ( itemdata_stocknumber ) %]
759 <td class="stocknumber">[% item.stocknumber %]</td>
762 <td class="materials"> [% item.materials %] </td>
764 [% IF ( itemdata_itemnotes ) %]
765 <td><div class="itemnotes">[% item.itemnotes %]</div></td>
767 [% IF ( SpineLabelShowPrintOnBibDetails ) %]
768 <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]" >Print label</a></td>
770 [% IF ( hostrecords ) %]
771 <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]" >[% item.hosttitle %]</a>[% END %]</td>
775 [% IF ( item.countanalytics ) %]
776 <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] analytics</a>
781 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">Create analytics</a></td>
784 [% IF ShowCourseReserves %]
786 [% IF item.course_reserves %]
787 [% FOREACH r IN item.course_reserves %]
788 [% IF r.course.enabled == 'yes' %]
790 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% r.course.course_id %]">
791 [% r.course.course_name %]
792 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
793 [% IF r.course.section %] [% r.course.section %] [% END %]
794 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
802 [% IF CAN_user_editcatalogue_edit_items %]
804 [% UNLESS item.cannot_be_edited %]
805 <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]#edititem">Edit</a>
813 [% END %][%# end of block items_table %]
817 [% IF ( showncount ) %]
818 [% PROCESS items_table items=itemloop %]
820 [% IF ( hiddencount ) %]
821 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">Show all items ([% hiddencount %] hidden)</a>
823 [% IF ( debug_display ) %]
826 <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr>
827 <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr>
828 <tr><td>serial</td><td>[% serial %]</td></tr>
832 [% IF ( ALTERNATEHOLDINGS ) %]
833 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
834 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
837 <div id="noitems">No physical items for this record</div>
842 [% IF (SeparateHoldings) %]
843 <div id="otherholdings">
844 [% IF (otheritemloop.size) %]
845 [% PROCESS items_table items=otheritemloop %]
852 [% IF ( MARCNOTES || notes ) %]
854 <div id="description">
855 <div class="content_set">
857 [% IF ( MARCNOTES ) %]
858 [% FOREACH MARCNOTE IN MARCNOTES %]
860 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
861 <a href="[% MARCNOTE.marcnote %]">[% MARCNOTE.marcnote %]</a>
863 [% MARCNOTE.marcnote FILTER html_line_break %]
877 [% IF ( subscriptionsnumber ) %]
878 <div id="subscriptions">
880 <div id="catalogue_detail_subscriptions">
881 <h2>This is a serial subscription</h2>
882 <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p>
883 [% FOREACH subscription IN subscriptions %]
884 [% IF ( subscription.branchname ) %]<h3>At library: [% subscription.branchname %]</h3>[% ELSE %]
885 [% IF ( subscription.branchcode ) %]<h3>At library: [% subscription.branchcode %]</h3>[% END %][% END %]
886 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
887 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %] </p>[% END %]
888 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
889 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
890 [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %]
891 [% IF ( subscription.latestserials ) %]
892 <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p>
896 <th>Date arrived</th>
897 <th>Date published</th>
901 [% FOREACH latestserial IN subscription.latestserials %]
903 <td>[% latestserial.serialseq %]</td>
904 <td>[% latestserial.planneddate %]</td>
905 <td>[% latestserial.publisheddate%]</td>
907 [% IF ( latestserial.status1 ) %]Expected[% END %]
908 [% IF ( latestserial.status2 ) %]Arrived[% END %]
909 [% IF ( latestserial.status3 ) %]Late[% END %]
910 [% IF ( latestserial.status4 ) %]Missing[% END %]
911 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
912 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
913 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
914 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
915 [% IF ( latestserial.status5 ) %]Not issued[% END %]
916 [% IF ( latestserial.status6 ) %]Delete[% END %]
917 [% IF ( latestserial.status7 ) %]Claimed[% END %]
918 [% IF ( latestserial.status8 ) %]Stopped[% END %]
920 <td>[% latestserial.notes %]</td>
925 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription details</a>
932 [% IF Koha.Preference('AcquisitionDetails') %]
933 <div id="acq_details">
939 <th>Basket group</th>
941 <th>Order number</th>
942 <th class="title-string">Creation date</th>
943 <th class="title-string">Receive date</th>
949 [% FOR order IN orders %]
953 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="Vendor detail page">[% order.name %]</a>
957 [% IF (order.basketgroupid) %]
958 [% IF CAN_user_acquisition_group_manage %]
959 <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.id %]&basketgroupid=[% order.basketgroupid %]">[% order.groupname %] ([% order.basketgroupid %])</a>
961 [% order.groupname %] ([% order.basketgroupid %])
965 <td>[% IF CAN_user_acquisition_order_manage %]
966 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %] ([% order.basketno %])</a>
968 [% order.basketname %] ([% order.basketno %])
970 <td>[% order.ordernumber %]</td>
971 <td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td>
972 <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
974 [% SWITCH order.orderstatus %]
976 [% CASE 'ordered' %]Ordered
977 [% CASE 'partial' %]Partial
978 [% CASE 'complete' %]Complete
979 [% CASE 'cancelled' %]Cancelled
982 <td>[% order.quantity %]</td>
988 There is no order for this biblio.
993 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
994 <div id="editions"><h4>Editions</h4>
996 [% 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 %]
997 [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
998 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author %] ©[% XISBN.copyrightdate %]
999 [% IF ( XISBN.publishercode ) %]
1000 [% 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 %]
1002 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages %] [% IF ( XISBN.illus ) %][% XISBN.illus %][% END %]
1003 [% IF ( XISBN.size ) %], [% END %][% XISBN.size %]
1007 </table></div>[% END %]
1010 [% IF ( LocalCoverImages ) %]
1012 [% IF ( localimages.0 ) %]
1013 <p>Click on an image to view it in the image viewer</p>
1014 <ul class="thumbnails">
1015 [% FOREACH image IN localimages %]
1017 <li id="imagenumber-[% image %]">
1018 <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]">
1019 <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" />
1020 [% IF CAN_user_tools_upload_local_cover_images %]
1021 <span class="remove" title="remove this image">Delete image</span>
1028 [%# ELSE - No image passed JavaScript takes care %]
1033 [% IF ( HTML5MediaEnabled ) %]
1034 <div id="html5media">
1036 <[% HTML5MediaParent %] controls preload=none>
1037 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1038 <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
1040 [[% HTML5MediaParent %] tag not supported by your browser.]
1041 </[% HTML5MediaParent %]>
1047 </div><!-- /bibliodetails -->
1049 <div class="yui-g" id="export" style="margin-top: 1em;">
1050 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
1052 <th>Save Record</th> </tr>
1053 <tr><td> Select download format: <select name="format">
1054 <option value="mods">MODS (XML)</option>
1055 <option data-toggle="modal" data-target="#exportModal_">Dublin Core</option>
1056 <option value="marcxml">MARCXML</option>
1057 <option value="marc8">MARC (non-Unicode/MARC-8)</option>
1058 <option value="utf8">MARC (Unicode/UTF-8)</option> </select>
1059 <input type="submit" name="save" value="Download Record" /></td>
1062 <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber %]" />
1068 <div id="marcPreview" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
1069 <div class="modal-header">
1070 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
1071 <h3 id="marcPreviewLabel">MARC preview</h3>
1073 <div class="modal-body">
1074 <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
1076 <div class="modal-footer">
1077 <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
1084 [% INCLUDE 'biblio-view-menu.inc' %]
1089 [% INCLUDE 'intranet-bottom.inc' %]