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 btn-mini' href='/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=[% biblionumber %]&filetype=image'><i class='fa fa-upload' aria-hidden='true'></i> ",
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 || LocalCoverImages ) %]
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 [% IF ( using_https ) %]
392 <img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
394 <img border="0" src="http://images.amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
401 <h3>[% title |html %]</h3>
402 [% FOREACH subtitl IN subtitle %]
403 <h4>[% subtitl.subfield %]</h4>
405 [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% translated_description %]" title="[% translated_description %]">[% END %]
406 [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
407 [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author %]</a></p>[% END %]
409 [% IF ( MARCAUTHORS ) %]
410 <li><strong>Additional authors:</strong><ul>
411 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
412 <li>[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator %]<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code %] [% MARCAUTHOR_SUBFIELDS_LOO.value |url %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCAUTHOR_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value %]</a>[% END %]</li>
418 [% IF ( MARCSERIES ) %]
419 <li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
420 <li>[% FOREACH MARCSERIES_SUBFIELDS_LOO IN MARCSERIE.MARCSERIES_SUBFIELDS_LOOP %] [% IF ( MARCSERIES_SUBFIELDS_LOO.value ) %]<a href="/cgi-bin/koha/catalogue/search.pl?q=se:[% MARCSERIES_SUBFIELDS_LOO.value |url %]">[% MARCSERIES_SUBFIELDS_LOO.value %]</a>[% END %][% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %]. [% MARCSERIES_SUBFIELDS_LOO.volumenum %][% END %][% END %]</li>
425 [% IF ( publishercode ) %]
426 <li><strong>Published by:</strong>
427 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
428 [% publishercode |html %]
429 </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsability ) %][% editionresponsability %][% END %]
432 <li><strong>Description:</strong>
433 [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %]
434 [% IF ( size ) %][% size %][% END %]
436 [% IF ( MARCURLS ) %]<li>
438 <strong>Online resources:</strong>
439 <ul> [% FOREACH MARCurl IN MARCURLS %]
440 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
442 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
443 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">[% MARCurl.linktext %]</a>
444 [% IF ( MARCurl.notes ) %]<ul>[% FOREACH note IN MARCurl.notes %]<li>[% note.note %]</li>[% END %]</ul>[% END %]</li>
449 [% IF ( OPACBaseURL ) %]
450 <li><strong>OPAC view:</strong>
451 <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a>
454 <li id="catalogue_detail_marc_preview">
455 <strong>MARC Preview:</strong>
456 <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a>
461 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
462 <div class="yui-u" id="bookcoverimg">
463 [% IF ( LocalCoverImages ) %]
464 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
466 [% IF ( AmazonCoverImages ) %]
467 <div id="amazon-bookcoverimg">
468 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %]/ref=sib_dp_pt/002-7879865-0184864#reader-link">
469 [% IF ( using_https ) %]
470 <img border="0" src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
472 <img border="0" src="http://images.amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
480 <div class="yui-u" style="margin-top: 1em;">
482 [% IF ( MARCISBNS ) %]
483 <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN %]</li>[% END %]</ul></li>
485 [% IF ( normalized_isbn ) %]
486 <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
490 <li><strong>ISSN:</strong>[% issn %]</li>
492 [% IF ( collectiontitle ) %]
493 <li><strong>Collection: </strong>
494 [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn %])[% END %]
497 [% IF ( MARCSUBJCTS ) %]
498 <li><strong>Subjects:</strong>
500 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
501 <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>
506 [% IF ( copyrightdate ) %]
507 <li><strong>Copyright:</strong> [% copyrightdate %]</li>
510 [% IF ( classification ) %]
511 <li><strong>Classification:</strong> [% subclass %][% classification %]</li>
514 <li><strong>Dewey:</strong> [% dewey %]</li>
517 <li><strong>url:</strong>
518 [% FOREACH url IN urlS %]
519 <a href="[% url.url %]">[% url.url %]</a>
523 <!--This grabs all of the lists a bib record appears in -->
525 <li><strong>Lists that include this title: </strong>
527 [% FOREACH s IN shelves %]
528 <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></li>
533 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
534 <li><strong>Tags:</strong>
536 [% FOREACH TagLoo IN TagLoop %]
538 [% IF ( CAN_user_tools_moderate_tags ) %]
539 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
541 [% TagLoo.term |html %]
543 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
547 [% 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 %]
553 <div id="bibliodetails" class="toptabs">
556 [% IF (SeparateHoldings) %]
557 <li><a href="#holdings">[% LoginBranchname %] holdings</a></li>
558 <li><a href="#otherholdings">Other holdings</a></li>
560 <li><a href="#holdings">Holdings</a></li>
562 [% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %]
563 [% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
564 [% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
565 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %]
566 [% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %]
567 [% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %]
570 [% items_table_block_iter = 0 %]
571 [% BLOCK items_table %]
572 [% items_table_block_iter = items_table_block_iter + 1 %]
573 [% IF (StaffDetailItemSelection) %]
574 <a href="#" onclick="selectAllItems($(this).parent()); return false;">Select all</a> |
575 <a href="#" onclick="clearAllItems($(this).parent()); return false;">Clear all</a>
576 <span class="itemselection_actions">
578 [% IF CAN_user_tools_items_batchdel %]
579 <a class="itemselection_action_delete">Delete selected items</a>
581 [% IF CAN_user_tools_items_batchmod %]
582 <a class="itemselection_action_modify">Modify selected items</a>
586 <table class="items_table">
589 [% IF (StaffDetailItemSelection) %]<th class="NoSort"></th>[% END %]
590 [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %]
591 <th>Current location</th>
592 <th>Home library</th>
593 [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
598 [% IF ( volinfo ) %]<th>Publication details</th>[% END %]
599 [% IF ( itemdata_uri ) %]<th>url</th>[% END %]
600 [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
601 [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %]
602 [% IF materials %]<th>Materials specified</th>[% END %]
603 [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
604 [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
605 [% IF ( hostrecords ) %]<th>Host records</th>[% END %]
606 [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
607 [% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %]
608 [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort">Edit</th>[% END %]
612 [% FOREACH item IN items %]
614 [% IF (StaffDetailItemSelection) %]
615 <td style="text-align:center;vertical-align:middle">
616 <input type="checkbox" value="[% item.itemnumber %]" name="itemnumber" />
619 [% IF ( item_level_itypes ) %]
621 [% IF !noItemTypeImages && item.imageurl %]
622 <img src="[% item.imageurl %]" alt="[% item.translated_description %]" title="[% item.translated_description %]" />
624 [% item.translated_description %]
627 <td class="location">[% UNLESS ( singlebranchmode ) %][% item.branchname %] [% END %]</td>
628 <td class="homebranch">[% Branches.GetName(item.homebranch) %]<span class="shelvingloc">[% item.location %]</span> </td>
629 [% IF ( itemdata_ccode ) %]<td>[% item.ccode %]</td>[% END %]
630 <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber %][% END %]</td>
633 [% IF ( item.datedue ) %]
634 [% IF item.onsite_checkout %]
635 <span>Currently in local use
637 <span class="datedue">Checked out
639 [% UNLESS ( item.NOTSAMEBRANCH ) %]
640 [% IF item.onsite_checkout %]
641 by <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
643 to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">
645 [% IF ( item.hidepatronname ) %]
646 [% item.cardnumber %]
648 [% item.firstname %] [% item.surname %]
652 : due [% item.datedue %]
654 [% ELSIF ( item.transfertwhen ) %]
655 <span class="intransit">In transit from [% item.transfertfrom %] to [% item.transfertto %] since [% item.transfertwhen | $KohaDates %]</span>
658 [% IF ( item.itemlost ) %]
659 [% IF ( item.itemlostloop ) %]
660 [% FOREACH itemlostloo IN item.itemlostloop %]
661 [% IF ( itemlostloo.selected ) %]
662 <span class="lost">[% itemlostloo.lib %]</span>
666 <span class="lost">Unavailable (lost or missing)</span>
670 [% IF ( item.withdrawn ) %]
671 <span class="wdn">Withdrawn</span>
674 [% IF ( item.damaged ) %]
675 [% IF ( item.itemdamagedloop ) %]
676 [% FOREACH itemdamagedloo IN item.itemdamagedloop %]
677 [% IF ( itemdamagedloo.selected ) %]
678 <span class="dmg">[% itemdamagedloo.lib %]</span>
682 <span class="dmg">Damaged</span>
686 [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
688 [% IF ( item.notforloanvalue ) %]
689 ([% item.notforloanvalue %])
693 [% IF ( item.reservedate ) %]
694 [% IF ( item.waitingdate ) %]
699 [% IF ( canreservefromotherbranches ) %]
700 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.ReservedForBorrowernumber %]">
701 [% IF ( item.hidepatronname ) %]
702 [% item.Reservedcardnumber %]
704 [% item.ReservedForFirstname %] [% item.ReservedForSurname %]
708 [% IF ( item.waitingdate ) %]
709 at[% ELSE %]for delivery at
711 [% item.ExpectedAtLibrary %]
712 [% IF ( item.waitingdate ) %]
713 since [% item.waitingdate | $KohaDates %]
715 [% IF ( item.reservedate ) %]
716 (placed [% item.reservedate | $KohaDates %])
722 or item.notforloan_per_itemtype
727 or item.transfertwhen
733 [% IF ( item.restricted ) %]
734 <span class="restricted">([% item.restricted %])</span>
738 <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td>
739 <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>
741 <td class="enumchron">
742 [% IF ( itemdata_enumchron ) %]
743 [% IF item.enumchron && item.serialseq %]
744 <span class="enum">[% item.enumchron %]</span>
745 [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
746 <span class="sep"> -- </span>
747 <span class="serialseq">[% item.serialseq %]</span>
749 [% ELSIF item.enumchron %]
750 <span class="enum">[% item.enumchron %]</span>
751 [% ELSIF item.serialseq %]
752 <span class="serialseq">[% item.serialseq %]</span>
754 [% IF ( item.publisheddate ) %]
755 <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
760 [% IF ( itemdata_uri ) %]
761 <td class="uri"><a href="[% item.uri %]">[% item.uri %]</a></td>
763 [% IF ( itemdata_copynumber ) %]
764 <td class="copynumber">[% item.copynumber %]</td>
766 [% IF ( itemdata_stocknumber ) %]
767 <td class="stocknumber">[% item.stocknumber %]</td>
770 <td class="materials"> [% item.materials %] </td>
772 [% IF ( itemdata_itemnotes ) %]
773 <td><div class="itemnotes">[% item.itemnotes %]</div></td>
775 [% IF ( SpineLabelShowPrintOnBibDetails ) %]
776 <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]" >Print label</a></td>
778 [% IF ( hostrecords ) %]
779 <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]" >[% item.hosttitle %]</a>[% END %]</td>
783 [% IF ( item.countanalytics ) %]
784 <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] analytics</a>
789 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">Create analytics</a></td>
792 [% IF ShowCourseReserves %]
794 [% IF item.course_reserves %]
795 [% FOREACH r IN item.course_reserves %]
796 [% IF r.course.enabled == 'yes' %]
798 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% r.course.course_id %]">
799 [% r.course.course_name %]
800 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
801 [% IF r.course.section %] [% r.course.section %] [% END %]
802 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
810 [% IF CAN_user_editcatalogue_edit_items %]
812 [% UNLESS item.cannot_be_edited %]
813 <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]#edititem">Edit</a>
821 [% END %][%# end of block items_table %]
825 [% IF ( showncount ) %]
826 [% PROCESS items_table items=itemloop %]
828 [% IF ( hiddencount ) %]
829 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">Show all items ([% hiddencount %] hidden)</a>
831 [% IF ( debug_display ) %]
834 <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr>
835 <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr>
836 <tr><td>serial</td><td>[% serial %]</td></tr>
840 [% IF ( ALTERNATEHOLDINGS ) %]
841 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
842 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
845 <div id="noitems">No physical items for this record</div>
850 [% IF (SeparateHoldings) %]
851 <div id="otherholdings">
852 [% IF (otheritemloop.size) %]
853 [% PROCESS items_table items=otheritemloop %]
860 [% IF ( MARCNOTES || notes ) %]
862 <div id="description">
863 <div class="content_set">
865 [% IF ( MARCNOTES ) %]
866 [% FOREACH MARCNOTE IN MARCNOTES %]
867 <p>[% MARCNOTE.marcnote FILTER html_line_break %]</p>
879 [% IF ( subscriptionsnumber ) %]
880 <div id="subscriptions">
882 <div id="catalogue_detail_subscriptions">
883 <h2>This is a serial subscription</h2>
884 <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p>
885 [% FOREACH subscription IN subscriptions %]
886 [% IF ( subscription.branchname ) %]<h3>At library: [% subscription.branchname %]</h3>[% ELSE %]
887 [% IF ( subscription.branchcode ) %]<h3>At library: [% subscription.branchcode %]</h3>[% END %][% END %]
888 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
889 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %] </p>[% END %]
890 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
891 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
892 [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %]
893 [% IF ( subscription.latestserials ) %]
894 <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p>
898 <th>Date arrived</th>
899 <th>Date published</th>
903 [% FOREACH latestserial IN subscription.latestserials %]
905 <td>[% latestserial.serialseq %]</td>
906 <td>[% latestserial.planneddate %]</td>
907 <td>[% latestserial.publisheddate%]</td>
909 [% IF ( latestserial.status1 ) %]Expected[% END %]
910 [% IF ( latestserial.status2 ) %]Arrived[% END %]
911 [% IF ( latestserial.status3 ) %]Late[% END %]
912 [% IF ( latestserial.status4 ) %]Missing[% END %]
913 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
914 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
915 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
916 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
917 [% IF ( latestserial.status5 ) %]Not issued[% END %]
918 [% IF ( latestserial.status6 ) %]Delete[% END %]
919 [% IF ( latestserial.status7 ) %]Claimed[% END %]
920 [% IF ( latestserial.status8 ) %]Stopped[% END %]
922 <td>[% latestserial.notes %]</td>
927 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription details</a>
934 [% IF Koha.Preference('AcquisitionDetails') %]
935 <div id="acq_details">
941 <th>Basket group</th>
943 <th>Order number</th>
944 <th class="title-string">Creation date</th>
945 <th class="title-string">Receive date</th>
951 [% FOR order IN orders %]
955 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="Vendor detail page">[% order.name %]</a>
959 [% IF (order.basketgroupid) %]
960 [% IF CAN_user_acquisition_group_manage %]
961 <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.id %]&basketgroupid=[% order.basketgroupid %]">[% order.groupname %] ([% order.basketgroupid %])</a>
963 [% order.groupname %] ([% order.basketgroupid %])
967 <td>[% IF CAN_user_acquisition_order_manage %]
968 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %] ([% order.basketno %])</a>
970 [% order.basketname %] ([% order.basketno %])
972 <td>[% order.ordernumber %]</td>
973 <td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td>
974 <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
976 [% SWITCH order.orderstatus %]
978 [% CASE 'ordered' %]Ordered
979 [% CASE 'partial' %]Partial
980 [% CASE 'complete' %]Complete
981 [% CASE 'cancelled' %]Cancelled
984 <td>[% order.quantity %]</td>
990 There is no order for this biblio.
995 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
996 <div id="editions"><h4>Editions</h4>
998 [% 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 %]
999 [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
1000 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author %] ©[% XISBN.copyrightdate %]
1001 [% IF ( XISBN.publishercode ) %]
1002 [% 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 %]
1004 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages %] [% IF ( XISBN.illus ) %][% XISBN.illus %][% END %]
1005 [% IF ( XISBN.size ) %], [% END %][% XISBN.size %]
1009 </table></div>[% END %]
1012 [% IF ( LocalCoverImages ) %]
1014 [% IF ( localimages.0 ) %]
1015 <p>Click on an image to view it in the image viewer</p>
1016 <ul class="thumbnails">
1017 [% FOREACH image IN localimages %]
1019 <li id="imagenumber-[% image %]">
1020 <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]">
1021 <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" />
1022 [% IF CAN_user_tools_upload_local_cover_images %]
1023 <span class="remove" title="remove this image">Delete image</span>
1030 [%# ELSE - No image passed JavaScript takes care %]
1035 [% IF ( HTML5MediaEnabled ) %]
1036 <div id="html5media">
1037 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
1039 <[% HTML5MediaParent %] controls preload=none>
1040 <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
1041 [[% HTML5MediaParent %] tag not supported by your browser.]
1042 </[% HTML5MediaParent %]>
1049 </div><!-- /bibliodetails -->
1051 <div class="yui-g" id="export" style="margin-top: 1em;">
1052 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
1054 <th>Save Record</th> </tr>
1055 <tr><td> Select download format: <select name="format">
1056 <option value="mods">MODS (XML)</option>
1057 <option value="dc">Dublin Core (XML)</option>
1058 <option value="marcxml">MARCXML</option>
1059 <option value="marc8">MARC (non-Unicode/MARC-8)</option>
1060 <option value="utf8">MARC (Unicode/UTF-8)</option> </select>
1061 <input type="submit" name="save" value="Download Record" /></td>
1064 <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber %]" />
1070 <div id="marcPreview" class="modal hide" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
1071 <div class="modal-header">
1072 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
1073 <h3 id="marcPreviewLabel">MARC preview</h3>
1075 <div class="modal-body">
1076 <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
1078 <div class="modal-footer">
1079 <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
1086 [% INCLUDE 'biblio-view-menu.inc' %]
1090 [% INCLUDE 'intranet-bottom.inc' %]