3 [% USE AuthorisedValues %]
5 [% ShowCourseReserves = 0 %]
6 [% IF UseCourseReserves %]
7 [% FOREACH item IN itemloop %]
8 [% IF item.course_reserves %]
9 [% FOREACH r IN item.course_reserves %]
10 [% IF r.course.enabled == 'yes' %]
11 [% ShowCourseReserves = 1 %]
18 [% INCLUDE 'doc-head-open.inc' %]
19 [% INCLUDE 'greybox.inc' %]
20 <title>Koha › Catalog ›
21 [% IF ( unknownbiblionumber ) %]
24 Details for [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]
27 [% INCLUDE 'doc-head-close.inc' %]<script type="text/JavaScript">
29 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
30 function verify_images() {
31 $("#bookcoverimg img").each(function(i){
32 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'))) {
35 if ((w == 1) || (h == 1)) {
36 $("#bookcoverimg").remove();
37 $(".yui-gb").attr("class","yui-g");
38 } else if ((this.complete != null) && (!this.complete)) {
39 $("#bookcoverimg").remove();
40 $(".yui-gb").attr("class","yui-g");
44 $("#editions img").each(function(i){
45 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'))) {
48 if ((w == 1) || (h == 1)) {
49 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
50 } else if ((this.complete != null) && (!this.complete)) {
51 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
57 function removeLocalImage(imagenumber) {
60 url: "/cgi-bin/koha/svc/cover_images?action=delete&biblionumber=" + [% biblionumber %] + "&imagenumber=" + imagenumber,
61 success: function(data) {
62 $(data).each( function(i) {
63 if ( this.deleted == 1 ) {
64 $('#imagenumber-' + this.imagenumber).remove();
66 if ( $('ul.thumbnails > li').length == 0 ) {
71 error: function(data) {
72 alert(_("An error occurred on deleting this image"));
78 function showNoImageMessage() {
80 var no_images_msg = _("No images have been uploaded for this bibliographic record yet.");
81 no_images_msg = '<p>' + no_images_msg + '</p>';
82 [% IF ( CAN_user_tools_upload_local_cover_images ) %]
83 var please_upload = _("Please %supload%s one.").format(
84 "<a href='/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&filetype=image'>",
86 no_images_msg += "<p>" + please_upload + '</p>';
89 $('#images').html(no_images_msg);
92 [% IF StaffDetailItemSelection %]
93 function selectAllItems(div) {
94 $("input[name='itemnumber'][type='checkbox']", div).attr('checked', 'checked');
95 itemSelectionBuildActionLinks(div);
98 function clearAllItems(div) {
99 $("input[name='itemnumber'][type='checkbox']", div).removeAttr('checked');
100 itemSelectionBuildActionLinks(div);
103 function itemSelectionBuildDeleteLink(div) {
104 var itemnumbers = new Array();
105 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
106 itemnumbers.push($(this).val());
108 if (itemnumbers.length > 0) {
109 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1';
110 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
111 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
112 $('a.itemselection_action_delete').attr('href', url);
113 $('a.itemselection_action_delete').show();
115 $('a.itemselection_action_delete').hide();
121 function itemSelectionBuildModifyLink(div) {
122 var itemnumbers = new Array();
123 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
124 itemnumbers.push($(this).val());
126 if (itemnumbers.length > 0) {
127 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show';
128 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
129 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
130 $('a.itemselection_action_modify').attr('href', url);
131 $('a.itemselection_action_modify').show();
133 $('a.itemselection_action_modify').hide();
139 function itemSelectionBuildActionLinks(div) {
140 var delete_link_ok = itemSelectionBuildDeleteLink(div);
141 var modify_link_ok = itemSelectionBuildModifyLink(div);
142 if (modify_link_ok || delete_link_ok) {
143 $('.itemselection_actions', div).show();
145 $('.itemselection_actions', div).hide();
149 $(document).ready(function() {
150 $('table.items_table').each(function() {
151 var div = $(this).parent().parent();
152 itemSelectionBuildActionLinks(div);
154 $("input[name='itemnumber'][type='checkbox']").change(function() {
155 var div = $(this).parents('table').parent().parent();
156 itemSelectionBuildActionLinks(div);
161 $(document).ready(function() {
162 $('#bibliodetails').tabs();
163 $('#search-form').focus();
164 $('.thumbnails > li > a > span.remove').click(function() {
165 var result = confirm(_("Are you sure you want to delete this cover image?"));
167 if ( result == true ) {
168 var imagenumber = $(this).parent().parent().attr('id').split('-')[1];
169 removeLocalImage(imagenumber);
174 [%# inject no images message %]
175 [% IF ( LocalCoverImages && ! localimages.0 ) %]
176 showNoImageMessage();
180 [% IF ( AmazonCoverImages ) %]$(window).load(function() {
185 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
186 [% INCLUDE 'datatables.inc' %]
187 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script>
188 [% INCLUDE 'browser-strings.inc' %]
190 <script type="text/javascript" src="[% interface %]/lib/shims/json2.min.js"></script>
192 <script type="text/javascript" src="[% interface %]/js/browser.js"></script>
193 <script type="text/javascript">
195 var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
198 function activate_filters(id) {
199 table = $("#" + id + " table");
200 if (table.length == 1) {
201 filters_row = table.find('thead tr.filters_row');
203 [% IF StaffDetailItemSelection %]
205 filters_row.find('th').each(function() {
206 aoColumns.push('text');
211 if (table.find('thead tr.columnFilter').length == 0) {
212 table.dataTable().columnFilter({
213 'sPlaceHolder': 'head:after'
214 [% IF StaffDetailItemSelection %]
215 , 'aoColumns': aoColumns
218 filters_row.addClass('columnFilter');
223 $('#' + id + '_activate_filters')
224 .text(_("Deactivate filters"))
227 deactivate_filters(id);
232 function deactivate_filters(id) {
233 filters_row = $("#" + id + " table").find('thead tr.filters_row');
235 filters_row.find('input[type="text"]')
236 .val('') // Empty filter text boxes
237 .trigger('keyup') // Filter (display all rows)
238 .trigger('blur'); // Reset value to the column name
241 $('#' + id + '_activate_filters')
242 .text(_("Activate filters"))
245 activate_filters(id);
250 $(document).ready(function() {
251 var ids = ['holdings', 'otherholdings'];
254 table = $('#' + id + ' table');
256 // Duplicate the table header row for columnFilter
257 thead_row = table.find('thead tr');
258 clone = thead_row.clone().addClass('filters_row');
259 thead_row.before(clone);
262 table.dataTable($.extend(true, {}, dataTablesDefaults, {
266 [% IF StaffDetailItemSelection %]
268 { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }
273 // Show a link to activate filtering
276 .attr('id', id + '_activate_filters');
278 deactivate_filters(id);
280 [% IF Koha.Preference('AcquisitionDetails') %]
281 $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
285 "aaSorting": [[ 3, "desc" ]],
287 { "aTargets": [ 3, 4 ], "sType": "title-string" }
297 <body id="catalog_detail" class="catalog">
299 [% INCLUDE 'header.inc' %]
300 [% INCLUDE 'cat-search.inc' %]
302 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
303 [% IF ( unknownbiblionumber ) %]
306 Details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i>
310 <div id="doc3" class="yui-t2">
312 [% IF ( unknownbiblionumber ) %]
313 <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
319 [% INCLUDE 'cat-toolbar.inc' %]
321 <!-- COinS / OpenURL -->
322 <span class="Z3988" title="[% ocoins %]"></span>
325 [% IF ( AmazonCoverImages ) %]
326 [% IF ( XSLTDetailsDisplay ) %]
328 <div id="catalogue_detail_biblio" class="yui-u first">
331 <div id="catalogue_detail_biblio" class="yui-u first">
334 [% IF ( XSLTDetailsDisplay ) %]
336 <div id="catalogue_detail_biblio">
339 <div id="catalogue_detail_biblio" class="yui-u first">
343 [% IF ( XSLTDetailsDisplay ) %]
346 [% IF ( GetShelves ) %]
347 <span class="results_summary"><span class="label">Lists that include this title: </span>
348 [% FOREACH GetShelve IN GetShelves %]
349 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% GetShelve.shelfnumber %]">[% GetShelve.shelfname %]</a>
350 [% IF ( loop.last ) %][% ELSE %]|[% END %]
354 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
355 <span class="results_summary"><span class="label">Tags:</span>
356 [% FOREACH TagLoo IN TagLoop %]
357 [% IF ( CAN_user_tools_moderate_tags ) %]
358 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
360 [% TagLoo.term |html %]
362 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
366 <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 %]" title="MARC" rel="gb_page_center[600,500]">Show</a></span>
367 [% 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 %]
369 [% IF ( AmazonCoverImages ) %]</div><div class="yui-u" id="bookcoverimg">
370 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" /></a>[% END %]
373 <h3>[% title |html %]</h3>
374 [% FOREACH subtitl IN subtitle %]
375 <h4>[% subtitl.subfield %]</h4>
377 [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% description %]" title="[% description %]">[% END %]
378 [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
379 [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author %]</a></p>[% END %]
381 [% IF ( MARCAUTHORS ) %]
382 <li><strong>Additional authors:</strong><ul>
383 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
384 <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>
390 [% IF ( MARCSERIES ) %]
391 <li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
392 <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>
397 [% IF ( publishercode ) %]
398 <li><strong>Published by:</strong>
399 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
400 [% publishercode |html %]
401 </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsability ) %][% editionresponsability %][% END %]
404 <li><strong>Description:</strong>
405 [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %]
406 [% IF ( size ) %][% size %][% END %]
408 [% IF ( MARCURLS ) %]<li>
410 <strong>Online resources:</strong>
411 <ul> [% FOREACH MARCurl IN MARCURLS %]
412 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
414 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
415 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">[% MARCurl.linktext %]</a>
416 [% IF ( MARCurl.notes ) %]<ul>[% FOREACH note IN MARCurl.notes %]<li>[% note.note %]</li>[% END %]</ul>[% END %]</li>
422 <li><strong>OPAC view:</strong>
423 <a href="http://[% OpacUrl %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a>
426 <li id="catalogue_detail_marc_preview">
427 <strong>MARC Preview:</strong>
428 <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a>
433 [% IF ( AmazonCoverImages ) %]<div class="yui-u" id="bookcoverimg">
434 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link"><img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" /></a></div>[% END %]
436 <div class="yui-u" style="margin-top: 1em;">
438 [% IF ( MARCISBNS ) %]
439 <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN %]</li>[% END %]</ul></li>
441 [% IF ( normalized_isbn ) %]
442 <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
446 <li><strong>ISSN:</strong>[% issn %]</li>
448 [% IF ( collectiontitle ) %]
449 <li><strong>Collection: </strong>
450 [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn %])[% END %]
453 [% IF ( MARCSUBJCTS ) %]
454 <li><strong>Subjects:</strong>
456 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
457 <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>
462 [% IF ( copyrightdate ) %]
463 <li><strong>Copyright:</strong> [% copyrightdate %]</li>
466 [% IF ( classification ) %]
467 <li><strong>Classification:</strong> [% subclass %][% classification %]</li>
470 <li><strong>Dewey:</strong> [% dewey %]</li>
473 <li><strong>url:</strong>
474 [% FOREACH url IN urlS %]
475 <a href="[% url.url %]">[% url.url %]</a>
479 <!--This grabs all of the lists a bib record appears in -->
480 [% IF ( GetShelves ) %]
481 <li><strong>Lists that include this title: </strong>
483 [% FOREACH GetShelve IN GetShelves %]
484 <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% GetShelve.shelfnumber %]">[% GetShelve.shelfname %]</a></li>
489 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
490 <li><strong>Tags:</strong>
492 [% FOREACH TagLoo IN TagLoop %]
494 [% IF ( CAN_user_tools_moderate_tags ) %]
495 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
497 [% TagLoo.term |html %]
499 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
503 [% 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 %]
509 <div id="bibliodetails" class="toptabs">
512 [% IF (SeparateHoldings) %]
513 <li><a href="#holdings">[% LoginBranchname %] holdings</a></li>
514 <li><a href="#otherholdings">Other holdings</a></li>
516 <li><a href="#holdings">Holdings</a></li>
518 [% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %]
519 [% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
520 [% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
521 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %]
522 [% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %]
523 [% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %]
526 [% items_table_block_iter = 0 %]
527 [% BLOCK items_table %]
528 [% items_table_block_iter = items_table_block_iter + 1 %]
529 [% IF (StaffDetailItemSelection) %]
530 <a href="#" onclick="selectAllItems($(this).parent()); return false;">Select all</a> |
531 <a href="#" onclick="clearAllItems($(this).parent()); return false;">Clear all</a>
532 <span class="itemselection_actions">
534 [% IF CAN_user_tools_items_batchdel %]
535 <a class="itemselection_action_delete">Delete selected items</a>
537 [% IF CAN_user_tools_items_batchmod %]
538 <a class="itemselection_action_modify">Modify selected items</a>
542 <table class="items_table">
545 [% IF (StaffDetailItemSelection) %]<th></th>[% END %]
546 [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %]
547 <th>Current location</th>
548 <th>Home library</th>
549 [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
554 [% IF ( volinfo ) %]<th>Publication details</th>[% END %]
555 [% IF ( itemdata_uri ) %]<th>url</th>[% END %]
556 [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
557 [% IF materials %]<th>Materials specified</th>[% END %]
558 [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
559 [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
560 [% IF ( hostrecords ) %]<th>Host records</th>[% END %]
561 [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
562 [% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %]
563 [% IF ( CAN_user_editcatalogue_edit_items ) %]<th>Edit</th>[% END %]
567 [% FOREACH item IN items %]
569 [% IF (StaffDetailItemSelection) %]
570 <td style="text-align:center;vertical-align:middle">
571 <input type="checkbox" value="[% item.itemnumber %]" name="itemnumber" />
574 [% IF ( item_level_itypes ) %]
576 [% IF !noItemTypeImages && item.imageurl %]
577 <img src="[% item.imageurl %]" alt="[% item.description %]" title="[% item.description %]" />
579 [% item.description %]
582 <td class="location">[% UNLESS ( singlebranchmode ) %][% item.branchname %] [% END %]</td>
583 <td class="homebranch">[% item.homebranch %]<span class="shelvingloc">[% item.location %]</span> </td>
584 [% IF ( itemdata_ccode ) %]<td>[% item.ccode %]</td>[% END %]
585 <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber %][% END %]</td>
588 [% IF ( item.datedue ) %]
589 [% IF item.onsite_checkout %]
590 <span>Currently in local use
592 <span class="datedue">Checked out
594 [% UNLESS ( item.NOTSAMEBRANCH ) %]
595 [% IF item.onsite_checkout %]
596 by <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
598 to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
600 [% IF ( item.hidepatronname ) %]
601 [% item.cardnumber %]
603 [% item.firstname %] [% item.surname %]
607 : due [% item.datedue %]
609 [% ELSIF ( item.transfertwhen ) %]
610 <span class="intransit">In transit from [% item.transfertfrom %] to [% item.transfertto %] since [% item.transfertwhen %]</span>
613 [% IF ( item.itemlost ) %]
614 [% IF ( item.itemlostloop ) %]
615 [% FOREACH itemlostloo IN item.itemlostloop %]
616 [% IF ( itemlostloo.selected ) %]
617 <span class="lost">[% itemlostloo.lib %]</span>
621 <span class="lost">Unavailable (lost or missing)</span>
625 [% IF ( item.withdrawn ) %]
626 <span class="wdn">Withdrawn</span>
629 [% IF ( item.damaged ) %]
630 [% IF ( item.itemdamagedloop ) %]
631 [% FOREACH itemdamagedloo IN item.itemdamagedloop %]
632 [% IF ( itemdamagedloo.selected ) %]
633 <span class="dmg">[% itemdamagedloo.lib %]</span>
637 <span class="dmg">Damaged</span>
641 [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
643 [% IF ( item.notforloanvalue ) %]
644 ([% item.notforloanvalue %])
648 [% IF ( item.reservedate ) %]
649 [% IF ( item.waitingdate ) %]
654 [% IF ( canreservefromotherbranches ) %]
655 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.ReservedForBorrowernumber %]">
656 [% IF ( item.hidepatronname ) %]
657 [% item.Reservedcardnumber %]
659 [% item.ReservedForFirstname %] [% item.ReservedForSurname %]
663 [% IF ( item.waitingdate ) %]
664 at[% ELSE %]for delivery at
666 [% item.ExpectedAtLibrary %]
667 [% IF ( item.waitingdate ) %]
668 since [% item.waitingdate | $KohaDates %]
670 [% IF ( item.reservedate ) %]
671 (placed [% item.reservedate %])
677 or item.notforloan_per_itemtype
682 or item.transfertwhen
688 [% IF ( item.restricted ) %]
689 <span class="restricted">([% item.restricted %])</span>
693 <td class="datelastseen">[% item.datelastseen %]</td>
694 <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>
696 <td class="enumchron">
697 [% IF ( itemdata_enumchron ) %]
698 [% IF item.enumchron && item.serialseq %]
699 <span class="enum">[% item.enumchron %]</span>
700 [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
701 <span class="sep"> -- </span>
702 <span class="serialseq">[% item.serialseq %]</span>
704 [% ELSIF item.enumchron %]
705 <span class="enum">[% item.enumchron %]</span>
706 [% ELSIF item.serialseq %]
707 <span class="serialseq">[% item.serialseq %]</span>
709 [% IF ( item.publisheddate ) %]
710 <span class="pubdate">([% item.publisheddate %])</span>
715 [% IF ( itemdata_uri ) %]
716 <td class="uri"><a href="[% item.uri %]">[% item.uri %]</a></td>
718 [% IF ( itemdata_copynumber ) %]
719 <td class="copynumber">[% item.copynumber %]</td>
722 <td class="materials"> [% item.materials %] </td>
724 [% IF ( itemdata_itemnotes ) %]
725 <td><div class="itemnotes">[% item.itemnotes %]</div></td>
727 [% IF ( SpineLabelShowPrintOnBibDetails ) %]
728 <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]" >Print label</a></td>
730 [% IF ( hostrecords ) %]
731 <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]" >[% item.hosttitle %]</a>[% END %]</td>
735 [% IF ( item.countanalytics ) %]
736 <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] analytics</a>
741 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">Create analytics</a></td>
744 [% IF ShowCourseReserves %]
746 [% IF item.course_reserves %]
747 [% FOREACH r IN item.course_reserves %]
748 [% IF r.course.enabled == 'yes' %]
750 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% r.course.course_id %]">
751 [% r.course.course_name %]
752 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
753 [% IF r.course.section %] [% r.course.section %] [% END %]
754 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
762 [% IF ( CAN_user_editcatalogue_edit_items ) %]
763 <td><a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]#edititem">Edit</a></td>
769 [% END %][%# end of block items_table %]
773 [% IF ( showncount ) %]
774 [% PROCESS items_table items=itemloop %]
776 [% IF ( hiddencount ) %]
777 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">Show all items ([% hiddencount %] hidden)</a>
779 [% IF ( debug_display ) %]
782 <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr>
783 <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr>
784 <tr><td>serial</td><td>[% serial %]</td></tr>
788 [% IF ( ALTERNATEHOLDINGS ) %]
789 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
790 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
793 <div id="noitems">No physical items for this record</div>
798 [% IF (SeparateHoldings) %]
799 <div id="otherholdings">
800 [% IF (otheritemloop.size) %]
801 [% PROCESS items_table items=otheritemloop %]
808 [% IF ( MARCNOTES || notes ) %]
810 <div id="description">
811 <div class="content_set">
813 [% IF ( MARCNOTES ) %]
814 [% FOREACH MARCNOTE IN MARCNOTES %]
815 <p>[% MARCNOTE.marcnote FILTER html_line_break %]</p>
827 [% IF ( subscriptionsnumber ) %]
828 <div id="subscriptions">
830 <div id="catalogue_detail_subscriptions">
831 <h2>This is a serial subscription</h2>
832 <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p>
833 [% FOREACH subscription IN subscriptions %]
834 [% IF ( subscription.branchname ) %]<h3>At library: [% subscription.branchname %]</h3>[% ELSE %]
835 [% IF ( subscription.branchcode ) %]<h3>At library: [% subscription.branchcode %]</h3>[% END %][% END %]
836 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
837 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %] </p>[% END %]
838 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
839 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
840 [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %]
841 [% IF ( subscription.latestserials ) %]
842 <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p>
846 <th>Date arrived</th>
847 <th>Date published</th>
851 [% FOREACH latestserial IN subscription.latestserials %]
853 <td>[% latestserial.serialseq %]</td>
854 <td>[% latestserial.planneddate %]</td>
855 <td>[% latestserial.publisheddate%]</td>
857 [% IF ( latestserial.status1 ) %]Expected[% END %]
858 [% IF ( latestserial.status2 ) %]Arrived[% END %]
859 [% IF ( latestserial.status3 ) %]Late[% END %]
860 [% IF ( latestserial.status4 ) %]Missing[% END %]
861 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
862 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
863 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
864 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
865 [% IF ( latestserial.status5 ) %]Not issued[% END %]
866 [% IF ( latestserial.status6 ) %]Delete[% END %]
867 [% IF ( latestserial.status7 ) %]Claimed[% END %]
868 [% IF ( latestserial.status8 ) %]Stopped[% END %]
870 <td>[% latestserial.notes %]</td>
875 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription details</a>
882 [% IF Koha.Preference('AcquisitionDetails') %]
883 <div id="acq_details">
888 <th>Basket group</th>
890 <th>Order number</th>
891 <th>Creation date</th>
892 <th>Receive date</th>
898 [% FOR order IN orders %]
901 [% IF (order.basketgroupid) %]
902 [% IF CAN_user_acquisition_group_manage %]
903 <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.id %]&basketgroupid=[% order.basketgroupid %]">[% order.groupname %] ([% order.basketgroupid %])</a>
905 [% order.groupname %] ([% order.basketgroupid %])
909 <td>[% IF CAN_user_acquisition_order_manage %]
910 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %] ([% order.basketno %])</a>
912 [% order.basketname %] ([% order.basketno %])
914 <td>[% order.ordernumber %]</td>
915 <td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td>
916 <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
918 [% SWITCH order.orderstatus %]
920 [% CASE 'ordered' %]Ordered
921 [% CASE 'partial' %]Partial
922 [% CASE 'complete' %]Complete
923 [% CASE 'cancelled' %]Cancelled
926 <td>[% order.quantity %]</th>
932 There is no order for this biblio.
937 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
938 <div id="editions"><h4>Editions</h4>
940 [% 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 %]
941 [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
942 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author %] ©[% XISBN.copyrightdate %]
943 [% IF ( XISBN.publishercode ) %]
944 [% 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 %]
946 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages %] [% IF ( XISBN.illus ) %][% XISBN.illus %][% END %]
947 [% IF ( XISBN.size ) %], [% END %][% XISBN.size %]
951 </table></div>[% END %]
954 [% IF ( LocalCoverImages ) %]
956 [% IF ( localimages.0 ) %]
957 <p>Click on an image to view it in the image viewer</p>
958 <ul class="thumbnails">
959 [% FOREACH image IN localimages %]
961 <li id="imagenumber-[% image %]">
962 <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]">
963 <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" />
964 [% IF CAN_user_tools_upload_local_cover_images %]
965 <span class="remove" title="remove this image">Delete image</span>
972 [%# ELSE - No image passed JavaScript takes care %]
977 [% IF ( HTML5MediaEnabled ) %]
978 <div id="html5media">
980 <[% HTML5MediaParent %] controls preload=none>
981 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
982 <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
984 [[% HTML5MediaParent %] tag not supported by your browser.]
985 </[% HTML5MediaParent %]>
991 </div><!-- /bibliodetails -->
993 <div class="yui-g" id="export" style="margin-top: 1em;">
994 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
996 <th>Save Record</th> </tr>
997 <tr><td> Select download format: <select name="format">
998 <option value="mods">MODS (XML)</option>
999 <option value="dc">Dublin Core (XML)</option>
1000 <option value="marcxml">MARCXML</option>
1001 <option value="marc8">MARC (non-Unicode/MARC-8)</option>
1002 <option value="utf8">MARC (Unicode/UTF-8)</option> </select>
1003 <input type="submit" name="save" value="Download Record" /></td>
1006 <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber %]" />
1017 [% INCLUDE 'biblio-view-menu.inc' %]
1021 [% INCLUDE 'intranet-bottom.inc' %]