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();
178 $("body").on("click",".previewMARC", function(e){
180 var page = $(this).attr("href");
181 $("#marcPreview .modal-body").load(page + " table");
182 $('#marcPreview').modal({show:true});
184 $("#marcPreview").on("hidden", function(){
185 $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
189 [% IF ( AmazonCoverImages ) %]$(window).load(function() {
194 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
195 [% INCLUDE 'datatables.inc' %]
196 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter.js"></script>
197 [% INCLUDE 'browser-strings.inc' %]
199 <script type="text/javascript" src="[% interface %]/lib/shims/json2.min.js"></script>
201 <script type="text/javascript" src="[% interface %]/js/browser.js"></script>
202 <script type="text/javascript">
204 var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
207 function activate_filters(id) {
208 var table = $("#" + id + " table");
209 if (table.length == 1) {
210 filters_row = table.find('thead tr.filters_row');
213 filters_row.find('th').each(function() {
214 if(this.className === "NoSort"){
215 aoColumns.push(null);
217 aoColumns.push('text');
221 if (table.find('thead tr.columnFilter').length == 0) {
222 table.dataTable().columnFilter({
223 'sPlaceHolder': 'head:after'
224 , 'aoColumns': aoColumns
226 filters_row.addClass('columnFilter');
231 $('#' + id + '_activate_filters')
232 .text(_("Deactivate filters"))
235 deactivate_filters(id);
240 function deactivate_filters(id) {
241 filters_row = $("#" + id + " table").find('thead tr.filters_row');
243 filters_row.find('input[type="text"]')
244 .val('') // Empty filter text boxes
245 .trigger('keyup') // Filter (display all rows)
246 .trigger('blur'); // Reset value to the column name
249 $('#' + id + '_activate_filters')
250 .text(_("Activate filters"))
253 activate_filters(id);
258 $(document).ready(function() {
259 var ids = ['holdings', 'otherholdings'];
262 var table = $('#' + id + ' table');
264 // Duplicate the table header row for columnFilter
265 thead_row = table.find('thead tr');
266 clone = thead_row.clone().addClass('filters_row');
267 clone.find("th.NoSort").html('');
268 thead_row.before(clone);
271 table.dataTable($.extend(true, {}, dataTablesDefaults, {
276 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }
280 // Show a link to activate filtering
283 .attr('id', id + '_activate_filters');
285 deactivate_filters(id);
287 [% IF Koha.Preference('AcquisitionDetails') %]
288 $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
292 "aaSorting": [[ 3, "desc" ]],
294 { "aTargets": [ 3, 4 ], "sType": "title-string" }
304 <body id="catalog_detail" class="catalog">
306 [% INCLUDE 'header.inc' %]
307 [% INCLUDE 'cat-search.inc' %]
309 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
310 [% IF ( unknownbiblionumber ) %]
313 Details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield %][% END %]</i>
317 <div id="doc3" class="yui-t2">
319 [% IF ( unknownbiblionumber ) %]
320 <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
326 [% INCLUDE 'cat-toolbar.inc' %]
328 <!-- COinS / OpenURL -->
329 <span class="Z3988" title="[% ocoins %]"></span>
332 [% IF ( AmazonCoverImages ) %]
333 [% IF ( XSLTDetailsDisplay ) %]
335 <div id="catalogue_detail_biblio" class="yui-u first">
338 <div id="catalogue_detail_biblio" class="yui-u first">
341 [% IF ( XSLTDetailsDisplay ) %]
343 <div id="catalogue_detail_biblio">
346 <div id="catalogue_detail_biblio" class="yui-u first">
350 [% IF ( XSLTDetailsDisplay ) %]
353 [% IF ( GetShelves ) %]
354 <span class="results_summary"><span class="label">Lists that include this title: </span>
355 [% FOREACH GetShelve IN GetShelves %]
356 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% GetShelve.shelfnumber %]">[% GetShelve.shelfname %]</a>
357 [% IF ( loop.last ) %][% ELSE %]|[% END %]
361 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
362 <span class="results_summary"><span class="label">Tags:</span>
363 [% FOREACH TagLoo IN TagLoop %]
364 [% IF ( CAN_user_tools_moderate_tags ) %]
365 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
367 [% TagLoo.term |html %]
369 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
373 <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>
374 [% 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 %]
376 [% IF ( AmazonCoverImages ) %]</div><div class="yui-u" id="bookcoverimg">
377 <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 %]
380 <h3>[% title |html %]</h3>
381 [% FOREACH subtitl IN subtitle %]
382 <h4>[% subtitl.subfield %]</h4>
384 [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% description %]" title="[% description %]">[% END %]
385 [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
386 [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author %]</a></p>[% END %]
388 [% IF ( MARCAUTHORS ) %]
389 <li><strong>Additional authors:</strong><ul>
390 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
391 <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>
397 [% IF ( MARCSERIES ) %]
398 <li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
399 <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>
404 [% IF ( publishercode ) %]
405 <li><strong>Published by:</strong>
406 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
407 [% publishercode |html %]
408 </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsability ) %][% editionresponsability %][% END %]
411 <li><strong>Description:</strong>
412 [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %]
413 [% IF ( size ) %][% size %][% END %]
415 [% IF ( MARCURLS ) %]<li>
417 <strong>Online resources:</strong>
418 <ul> [% FOREACH MARCurl IN MARCURLS %]
419 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
421 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
422 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">[% MARCurl.linktext %]</a>
423 [% IF ( MARCurl.notes ) %]<ul>[% FOREACH note IN MARCurl.notes %]<li>[% note.note %]</li>[% END %]</ul>[% END %]</li>
429 <li><strong>OPAC view:</strong>
430 <a href="http://[% OpacUrl %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a>
433 <li id="catalogue_detail_marc_preview">
434 <strong>MARC Preview:</strong>
435 <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a>
440 [% IF ( AmazonCoverImages ) %]<div class="yui-u" id="bookcoverimg">
441 <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 %]
443 <div class="yui-u" style="margin-top: 1em;">
445 [% IF ( MARCISBNS ) %]
446 <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN %]</li>[% END %]</ul></li>
448 [% IF ( normalized_isbn ) %]
449 <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
453 <li><strong>ISSN:</strong>[% issn %]</li>
455 [% IF ( collectiontitle ) %]
456 <li><strong>Collection: </strong>
457 [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn %])[% END %]
460 [% IF ( MARCSUBJCTS ) %]
461 <li><strong>Subjects:</strong>
463 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
464 <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>
469 [% IF ( copyrightdate ) %]
470 <li><strong>Copyright:</strong> [% copyrightdate %]</li>
473 [% IF ( classification ) %]
474 <li><strong>Classification:</strong> [% subclass %][% classification %]</li>
477 <li><strong>Dewey:</strong> [% dewey %]</li>
480 <li><strong>url:</strong>
481 [% FOREACH url IN urlS %]
482 <a href="[% url.url %]">[% url.url %]</a>
486 <!--This grabs all of the lists a bib record appears in -->
487 [% IF ( GetShelves ) %]
488 <li><strong>Lists that include this title: </strong>
490 [% FOREACH GetShelve IN GetShelves %]
491 <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?viewshelf=[% GetShelve.shelfnumber %]">[% GetShelve.shelfname %]</a></li>
496 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
497 <li><strong>Tags:</strong>
499 [% FOREACH TagLoo IN TagLoop %]
501 [% IF ( CAN_user_tools_moderate_tags ) %]
502 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
504 [% TagLoo.term |html %]
506 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
510 [% 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 %]
516 <div id="bibliodetails" class="toptabs">
519 [% IF (SeparateHoldings) %]
520 <li><a href="#holdings">[% LoginBranchname %] holdings</a></li>
521 <li><a href="#otherholdings">Other holdings</a></li>
523 <li><a href="#holdings">Holdings</a></li>
525 [% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %]
526 [% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
527 [% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
528 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %]
529 [% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %]
530 [% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %]
533 [% items_table_block_iter = 0 %]
534 [% BLOCK items_table %]
535 [% items_table_block_iter = items_table_block_iter + 1 %]
536 [% IF (StaffDetailItemSelection) %]
537 <a href="#" onclick="selectAllItems($(this).parent()); return false;">Select all</a> |
538 <a href="#" onclick="clearAllItems($(this).parent()); return false;">Clear all</a>
539 <span class="itemselection_actions">
541 [% IF CAN_user_tools_items_batchdel %]
542 <a class="itemselection_action_delete">Delete selected items</a>
544 [% IF CAN_user_tools_items_batchmod %]
545 <a class="itemselection_action_modify">Modify selected items</a>
549 <table class="items_table">
552 [% IF (StaffDetailItemSelection) %]<th class="NoSort"></th>[% END %]
553 [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %]
554 <th>Current location</th>
555 <th>Home library</th>
556 [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
561 [% IF ( volinfo ) %]<th>Publication details</th>[% END %]
562 [% IF ( itemdata_uri ) %]<th>url</th>[% END %]
563 [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
564 [% IF materials %]<th>Materials specified</th>[% END %]
565 [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
566 [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
567 [% IF ( hostrecords ) %]<th>Host records</th>[% END %]
568 [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
569 [% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %]
570 [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort">Edit</th>[% END %]
574 [% FOREACH item IN items %]
576 [% IF (StaffDetailItemSelection) %]
577 <td style="text-align:center;vertical-align:middle">
578 <input type="checkbox" value="[% item.itemnumber %]" name="itemnumber" />
581 [% IF ( item_level_itypes ) %]
583 [% IF !noItemTypeImages && item.imageurl %]
584 <img src="[% item.imageurl %]" alt="[% item.description %]" title="[% item.description %]" />
586 [% item.description %]
589 <td class="location">[% UNLESS ( singlebranchmode ) %][% item.branchname %] [% END %]</td>
590 <td class="homebranch">[% item.homebranch %]<span class="shelvingloc">[% item.location %]</span> </td>
591 [% IF ( itemdata_ccode ) %]<td>[% item.ccode %]</td>[% END %]
592 <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber %][% END %]</td>
595 [% IF ( item.datedue ) %]
596 [% IF item.onsite_checkout %]
597 <span>Currently in local use
599 <span class="datedue">Checked out
601 [% UNLESS ( item.NOTSAMEBRANCH ) %]
602 [% IF item.onsite_checkout %]
603 by <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
605 to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
607 [% IF ( item.hidepatronname ) %]
608 [% item.cardnumber %]
610 [% item.firstname %] [% item.surname %]
614 : due [% item.datedue %]
616 [% ELSIF ( item.transfertwhen ) %]
617 <span class="intransit">In transit from [% item.transfertfrom %] to [% item.transfertto %] since [% item.transfertwhen %]</span>
620 [% IF ( item.itemlost ) %]
621 [% IF ( item.itemlostloop ) %]
622 [% FOREACH itemlostloo IN item.itemlostloop %]
623 [% IF ( itemlostloo.selected ) %]
624 <span class="lost">[% itemlostloo.lib %]</span>
628 <span class="lost">Unavailable (lost or missing)</span>
632 [% IF ( item.withdrawn ) %]
633 <span class="wdn">Withdrawn</span>
636 [% IF ( item.damaged ) %]
637 [% IF ( item.itemdamagedloop ) %]
638 [% FOREACH itemdamagedloo IN item.itemdamagedloop %]
639 [% IF ( itemdamagedloo.selected ) %]
640 <span class="dmg">[% itemdamagedloo.lib %]</span>
644 <span class="dmg">Damaged</span>
648 [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
650 [% IF ( item.notforloanvalue ) %]
651 ([% item.notforloanvalue %])
655 [% IF ( item.reservedate ) %]
656 [% IF ( item.waitingdate ) %]
661 [% IF ( canreservefromotherbranches ) %]
662 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.ReservedForBorrowernumber %]">
663 [% IF ( item.hidepatronname ) %]
664 [% item.Reservedcardnumber %]
666 [% item.ReservedForFirstname %] [% item.ReservedForSurname %]
670 [% IF ( item.waitingdate ) %]
671 at[% ELSE %]for delivery at
673 [% item.ExpectedAtLibrary %]
674 [% IF ( item.waitingdate ) %]
675 since [% item.waitingdate | $KohaDates %]
677 [% IF ( item.reservedate ) %]
678 (placed [% item.reservedate %])
684 or item.notforloan_per_itemtype
689 or item.transfertwhen
695 [% IF ( item.restricted ) %]
696 <span class="restricted">([% item.restricted %])</span>
700 <td class="datelastseen">[% item.datelastseen %]</td>
701 <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>
703 <td class="enumchron">
704 [% IF ( itemdata_enumchron ) %]
705 [% IF item.enumchron && item.serialseq %]
706 <span class="enum">[% item.enumchron %]</span>
707 [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
708 <span class="sep"> -- </span>
709 <span class="serialseq">[% item.serialseq %]</span>
711 [% ELSIF item.enumchron %]
712 <span class="enum">[% item.enumchron %]</span>
713 [% ELSIF item.serialseq %]
714 <span class="serialseq">[% item.serialseq %]</span>
716 [% IF ( item.publisheddate ) %]
717 <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
722 [% IF ( itemdata_uri ) %]
723 <td class="uri"><a href="[% item.uri %]">[% item.uri %]</a></td>
725 [% IF ( itemdata_copynumber ) %]
726 <td class="copynumber">[% item.copynumber %]</td>
729 <td class="materials"> [% item.materials %] </td>
731 [% IF ( itemdata_itemnotes ) %]
732 <td><div class="itemnotes">[% item.itemnotes %]</div></td>
734 [% IF ( SpineLabelShowPrintOnBibDetails ) %]
735 <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]" >Print label</a></td>
737 [% IF ( hostrecords ) %]
738 <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]" >[% item.hosttitle %]</a>[% END %]</td>
742 [% IF ( item.countanalytics ) %]
743 <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] analytics</a>
748 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">Create analytics</a></td>
751 [% IF ShowCourseReserves %]
753 [% IF item.course_reserves %]
754 [% FOREACH r IN item.course_reserves %]
755 [% IF r.course.enabled == 'yes' %]
757 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% r.course.course_id %]">
758 [% r.course.course_name %]
759 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
760 [% IF r.course.section %] [% r.course.section %] [% END %]
761 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
769 [% IF ( CAN_user_editcatalogue_edit_items ) %]
770 <td><a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]#edititem">Edit</a></td>
776 [% END %][%# end of block items_table %]
780 [% IF ( showncount ) %]
781 [% PROCESS items_table items=itemloop %]
783 [% IF ( hiddencount ) %]
784 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">Show all items ([% hiddencount %] hidden)</a>
786 [% IF ( debug_display ) %]
789 <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr>
790 <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr>
791 <tr><td>serial</td><td>[% serial %]</td></tr>
795 [% IF ( ALTERNATEHOLDINGS ) %]
796 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
797 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
800 <div id="noitems">No physical items for this record</div>
805 [% IF (SeparateHoldings) %]
806 <div id="otherholdings">
807 [% IF (otheritemloop.size) %]
808 [% PROCESS items_table items=otheritemloop %]
815 [% IF ( MARCNOTES || notes ) %]
817 <div id="description">
818 <div class="content_set">
820 [% IF ( MARCNOTES ) %]
821 [% FOREACH MARCNOTE IN MARCNOTES %]
822 <p>[% MARCNOTE.marcnote FILTER html_line_break %]</p>
834 [% IF ( subscriptionsnumber ) %]
835 <div id="subscriptions">
837 <div id="catalogue_detail_subscriptions">
838 <h2>This is a serial subscription</h2>
839 <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p>
840 [% FOREACH subscription IN subscriptions %]
841 [% IF ( subscription.branchname ) %]<h3>At library: [% subscription.branchname %]</h3>[% ELSE %]
842 [% IF ( subscription.branchcode ) %]<h3>At library: [% subscription.branchcode %]</h3>[% END %][% END %]
843 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
844 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %] </p>[% END %]
845 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
846 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
847 [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %]
848 [% IF ( subscription.latestserials ) %]
849 <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p>
853 <th>Date arrived</th>
854 <th>Date published</th>
858 [% FOREACH latestserial IN subscription.latestserials %]
860 <td>[% latestserial.serialseq %]</td>
861 <td>[% latestserial.planneddate %]</td>
862 <td>[% latestserial.publisheddate%]</td>
864 [% IF ( latestserial.status1 ) %]Expected[% END %]
865 [% IF ( latestserial.status2 ) %]Arrived[% END %]
866 [% IF ( latestserial.status3 ) %]Late[% END %]
867 [% IF ( latestserial.status4 ) %]Missing[% END %]
868 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
869 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
870 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
871 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
872 [% IF ( latestserial.status5 ) %]Not issued[% END %]
873 [% IF ( latestserial.status6 ) %]Delete[% END %]
874 [% IF ( latestserial.status7 ) %]Claimed[% END %]
875 [% IF ( latestserial.status8 ) %]Stopped[% END %]
877 <td>[% latestserial.notes %]</td>
882 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription details</a>
889 [% IF Koha.Preference('AcquisitionDetails') %]
890 <div id="acq_details">
895 <th>Basket group</th>
897 <th>Order number</th>
898 <th>Creation date</th>
899 <th>Receive date</th>
905 [% FOR order IN orders %]
908 [% IF (order.basketgroupid) %]
909 [% IF CAN_user_acquisition_group_manage %]
910 <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.id %]&basketgroupid=[% order.basketgroupid %]">[% order.groupname %] ([% order.basketgroupid %])</a>
912 [% order.groupname %] ([% order.basketgroupid %])
916 <td>[% IF CAN_user_acquisition_order_manage %]
917 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %] ([% order.basketno %])</a>
919 [% order.basketname %] ([% order.basketno %])
921 <td>[% order.ordernumber %]</td>
922 <td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td>
923 <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
925 [% SWITCH order.orderstatus %]
927 [% CASE 'ordered' %]Ordered
928 [% CASE 'partial' %]Partial
929 [% CASE 'complete' %]Complete
930 [% CASE 'cancelled' %]Cancelled
933 <td>[% order.quantity %]</th>
939 There is no order for this biblio.
944 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
945 <div id="editions"><h4>Editions</h4>
947 [% 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 %]
948 [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
949 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author %] ©[% XISBN.copyrightdate %]
950 [% IF ( XISBN.publishercode ) %]
951 [% 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 %]
953 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages %] [% IF ( XISBN.illus ) %][% XISBN.illus %][% END %]
954 [% IF ( XISBN.size ) %], [% END %][% XISBN.size %]
958 </table></div>[% END %]
961 [% IF ( LocalCoverImages ) %]
963 [% IF ( localimages.0 ) %]
964 <p>Click on an image to view it in the image viewer</p>
965 <ul class="thumbnails">
966 [% FOREACH image IN localimages %]
968 <li id="imagenumber-[% image %]">
969 <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]">
970 <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" />
971 [% IF CAN_user_tools_upload_local_cover_images %]
972 <span class="remove" title="remove this image">Delete image</span>
979 [%# ELSE - No image passed JavaScript takes care %]
984 [% IF ( HTML5MediaEnabled ) %]
985 <div id="html5media">
987 <[% HTML5MediaParent %] controls preload=none>
988 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
989 <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
991 [[% HTML5MediaParent %] tag not supported by your browser.]
992 </[% HTML5MediaParent %]>
998 </div><!-- /bibliodetails -->
1000 <div class="yui-g" id="export" style="margin-top: 1em;">
1001 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
1003 <th>Save Record</th> </tr>
1004 <tr><td> Select download format: <select name="format">
1005 <option value="mods">MODS (XML)</option>
1006 <option value="dc">Dublin Core (XML)</option>
1007 <option value="marcxml">MARCXML</option>
1008 <option value="marc8">MARC (non-Unicode/MARC-8)</option>
1009 <option value="utf8">MARC (Unicode/UTF-8)</option> </select>
1010 <input type="submit" name="save" value="Download Record" /></td>
1013 <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber %]" />
1019 <div id="marcPreview" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
1020 <div class="modal-header">
1021 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
1022 <h3 id="marcPreviewLabel">MARC preview</h3>
1024 <div class="modal-body">
1025 <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
1027 <div class="modal-footer">
1028 <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
1035 [% INCLUDE 'biblio-view-menu.inc' %]
1039 [% INCLUDE 'intranet-bottom.inc' %]