3 [% USE AuthorisedValues %]
7 [% IF Koha.Preference('AmazonAssocTag') %]
8 [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
10 [% AmazonAssocTag = '' %]
13 [% ShowCourseReserves = 0 %]
14 [% IF UseCourseReserves %]
15 [% FOREACH item IN itemloop %]
16 [% IF item.course_reserves %]
17 [% FOREACH r IN item.course_reserves %]
18 [% IF r.course.enabled == 'yes' %]
19 [% ShowCourseReserves = 1 %]
26 [% SET footerjs = 1 %]
27 [% INCLUDE 'doc-head-open.inc' %]
28 <title>Koha › Catalog ›
29 [% IF ( unknownbiblionumber ) %]
32 Details for [% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]
35 [% INCLUDE 'doc-head-close.inc' %]
36 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
39 <body id="catalog_detail" class="catalog">
41 [% INCLUDE 'header.inc' %]
42 [% INCLUDE 'cat-search.inc' %]
44 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
45 [% IF ( unknownbiblionumber ) %]
48 Details for <i>[% title |html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</i>
52 <div id="doc3" class="yui-t2">
54 [% IF ( unknownbiblionumber ) %]
55 <div class="dialog message">The record you requested does not exist ([% biblionumber %]).</div>
61 [% INCLUDE 'cat-toolbar.inc' %]
63 <!-- COinS / OpenURL -->
64 <span class="Z3988" title="[% ocoins %]"></span>
67 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
68 [% IF ( XSLTDetailsDisplay ) %]
70 <div id="catalogue_detail_biblio" class="yui-u first">
73 <div id="catalogue_detail_biblio" class="yui-u first">
76 [% IF ( XSLTDetailsDisplay ) %]
78 <div id="catalogue_detail_biblio">
81 <div id="catalogue_detail_biblio" class="yui-u first">
85 [% IF ( XSLTDetailsDisplay ) %]
88 [% IF shelves.count %]
89 <span class="results_summary"><span class="label">Lists that include this title: </span>
90 [% FOREACH s IN shelves %]
91 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a>
92 [% IF ( loop.last ) %][% ELSE %]|[% END %]
96 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
97 <span class="results_summary"><span class="label">Tags:</span>
98 [% FOREACH TagLoo IN TagLoop %]
99 [% IF ( CAN_user_tools_moderate_tags ) %]
100 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
102 [% TagLoo.term |html %]
104 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
108 <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>
110 [% IF ( holdcount ) %]
111 <span class="results_summary">
112 <span class="label">Holds:</span>
113 <span class="number_box">
114 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a>
119 [% IF ( article_requests_count = Biblio.ArticleRequestsActiveCount( biblionumber ) ) %]
120 <span class="results_summary">
121 <span class="label">Article requests:</span>
122 <span class="number_box">
123 <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber %]">[% article_requests_count %]</a>
128 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
129 </div><div class="yui-u" id="bookcoverimg">
130 [% IF ( LocalCoverImages ) %]
131 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
133 [% IF ( AmazonCoverImages ) %]
134 <div id="amazon-bookcoverimg">
135 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %][% AmazonAssocTag %]#reader-link">
136 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
142 <h3>[% title |html %]</h3>
143 [% FOREACH subtitl IN subtitle %]
144 <h4>[% subtitl.subfield %]</h4>
146 [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl %]" alt="[% translated_description %]" title="[% translated_description %]">[% END %]
147 [% IF ( unititle ) %]<p>[% unititle |html %]</p>[% END %]
148 [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author | html %]</a></p>[% END %]
150 [% IF ( MARCAUTHORS ) %]
151 <li><strong>Additional authors:</strong><ul>
152 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
153 <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 | html %]</a>[% END %]</li>
159 [% IF ( MARCSERIES ) %]
160 <li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
161 <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>
166 [% IF ( publishercode ) %]
167 <li><strong>Published by:</strong>
168 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
169 [% publishercode |html %]
170 </a> [% IF ( place ) %]([% place %])[% END %] [% IF ( publicationyear ) %], [% publicationyear %][% END %] [% IF ( editionstatement ) %][% editionstatement %][% END %] [% IF ( editionresponsibility ) %][% editionresponsibility %][% END %]
173 <li><strong>Description:</strong>
174 [% IF ( pages ) %] [% END %][% pages %] [% IF ( illus ) %][% illus %][% END %]
175 [% IF ( size ) %][% size %][% END %]
177 [% IF ( MARCURLS ) %]<li>
179 <strong>Online resources:</strong>
180 <ul> [% FOREACH MARCurl IN MARCURLS %]
181 <li>[% IF ( MARCurl.part ) %][% MARCurl.part %]
183 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
184 <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">[% MARCurl.linktext %]</a>
185 [% IF ( MARCurl.notes ) %]<ul>[% FOREACH note IN MARCurl.notes %]<li>[% note.note %]</li>[% END %]</ul>[% END %]</li>
190 [% IF ( OPACBaseURL ) %]
191 <li><strong>OPAC view:</strong>
192 <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a>
195 <li id="catalogue_detail_marc_preview">
196 <strong>MARC Preview:</strong>
197 <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a>
202 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
203 <div class="yui-u" id="bookcoverimg">
204 [% IF ( LocalCoverImages ) %]
205 <div title="[% biblionumber |url %]" class="[% biblionumber %]" id="local-thumbnail-preview"></div>
207 [% IF ( AmazonCoverImages ) %]
208 <div id="amazon-bookcoverimg">
209 <a href="http://www.amazon[% AmazonTld %]/gp/reader/[% normalized_isbn %][% AmazonAssocTag %]#reader-link">
210 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" alt="" />
217 <div class="yui-u" style="margin-top: 1em;">
219 [% IF ( MARCISBNS ) %]
220 <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN | html %]</li>[% END %]</ul></li>
222 [% IF ( normalized_isbn ) %]
223 <li><strong>ISBN:</strong> [% normalized_isbn %]</li>
227 <li><strong>ISSN:</strong>[% issn %]</li>
229 [% IF ( collectiontitle ) %]
230 <li><strong>Collection: </strong>
231 [% collectiontitle %] [% IF ( collectionvolume ) %], [% collectionvolume %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn %])[% END %]
234 [% IF ( MARCSUBJCTS ) %]
235 <li><strong>Subjects:</strong>
237 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
238 <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>
243 [% IF ( copyrightdate ) %]
244 <li><strong>Copyright:</strong> [% copyrightdate %]</li>
247 [% IF ( classification ) %]
248 <li><strong>Classification:</strong> [% subclass %][% classification %]</li>
251 <li><strong>Dewey:</strong> [% dewey %]</li>
254 <li><strong>URL:</strong>
255 [% FOREACH url IN urlS %]
256 <a href="[% url.url %]">[% url.url %]</a>
260 <!--This grabs all of the lists a bib record appears in -->
261 [% IF shelves.count %]
262 <li><strong>Lists that include this title: </strong>
264 [% FOREACH s IN shelves %]
265 <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber %]">[% s.shelfname %]</a></li>
270 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
271 <li><strong>Tags:</strong>
273 [% FOREACH TagLoo IN TagLoop %]
275 [% IF ( CAN_user_tools_moderate_tags ) %]
276 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term |html %]</a>
278 [% TagLoo.term |html %]
280 <span class="weight">([% TagLoo.weight_total %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
284 [% IF ( holdcount ) %]<li><strong>Holds:</strong> <span class="number_box"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></li>[% ELSE %][% END %]
290 <div id="bibliodetails" class="toptabs">
293 [% IF (SeparateHoldings) %]
294 <li><a href="#holdings">[% LoginBranchname %] holdings</a></li>
295 <li><a href="#otherholdings">Other holdings</a></li>
297 <li><a href="#holdings">Holdings</a></li>
299 [% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %]
300 [% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
301 [% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
302 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %]
303 [% IF ( LocalCoverImages ) %][% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]<li><a href="#images">Images</a></li>[% END %][% END %]
304 [% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %]
305 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
306 <li class="NovelistSelect" style="display:none;"><a href="#NovelistSelect">NoveList Select</a></li>
310 [% items_table_block_iter = 0 %]
311 [% BLOCK items_table %]
312 [% items_table_block_iter = items_table_block_iter + 1 %]
313 <div class="[% tab %]_table_table_controls">
314 [% IF (StaffDetailItemSelection) %]
315 | <a href="#" class="SelectAll" data-tab="[% tab %]"><i class="fa fa-check"></i> Select all</a> |
316 <a href="#" class="ClearAll" data-tab="[% tab %]"><i class="fa fa-remove"></i> Clear all</a>
317 <span class="itemselection_actions">
319 [% IF CAN_user_tools_items_batchdel %]
320 <a class="itemselection_action_delete"><i class="fa fa-trash"></i> Delete selected items</a>
322 [% IF CAN_user_tools_items_batchmod %]
323 <a class="itemselection_action_modify"><i class="fa fa-pencil"></i> Modify selected items</a>
328 <table class="items_table" id="[% tab %]_table">
331 [% IF (StaffDetailItemSelection) %]<th class="NoSort"></th>[% END %]
332 [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %]
333 <th>Current location</th>
334 <th>Home library</th>
335 [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
340 [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %]
341 [% IF ( itemdata_uri ) %]<th>URL</th>[% END %]
342 [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
343 [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %]
344 [% IF materials %]<th>Materials specified</th>[% END %]
345 [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
346 [% IF ( itemdata_nonpublicnotes ) %]<th>Non-public notes</th>[% END %]
347 [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
348 [% IF ( hostrecords ) %]<th>Host records</th>[% END %]
349 [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
350 [% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %]
351 [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort"> </th>[% END %]
355 [% FOREACH item IN items %]
357 [% IF (StaffDetailItemSelection) %]
358 <td style="text-align:center;vertical-align:middle">
359 <input type="checkbox" value="[% item.itemnumber %]" name="itemnumber" />
362 [% IF ( item_level_itypes ) %]
364 [% IF !noItemTypeImages && item.imageurl %]
365 <img src="[% item.imageurl %]" alt="[% item.translated_description %]" title="[% item.translated_description %]" />
367 [% item.translated_description %]
370 <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) %] [% END %]</td>
371 <td class="homebranch">[% Branches.GetName(item.homebranch) %]<span class="shelvingloc">[% item.location %]</span> </td>
372 [% IF ( itemdata_ccode ) %]<td>[% item.ccode %]</td>[% END %]
373 <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber %][% END %]</td>
376 [% IF item.CheckedOutFor %]
377 [% IF item.onsite_checkout %]
378 <span>Currently in local use
380 <span class="datedue">Checked out
382 [% UNLESS ( item.NOTSAMEBRANCH ) %]
383 [% IF item.onsite_checkout %]
388 [% INCLUDE 'patron-title.inc' patron=item.CheckedOutFor hide_patron_infos_if_needed=1 %]
390 : due [% item.datedue %]
392 [% ELSIF ( item.transfertwhen ) %]
393 <span class="intransit">In transit from [% Branches.GetName( item.transfertfrom ) %] to [% Branches.GetName( item.transfertto ) %] since [% item.transfertwhen | $KohaDates %]</span>
396 [% IF ( item.itemlost ) %]
397 [% IF itemlostloop %]
398 [% FOREACH itemlostloo IN itemlostloop %]
399 [% IF itemlostloo.authorised_value == item.itemlost %]
400 <span class="lost">[% itemlostloo.lib %]</span>
404 <span class="lost">Unavailable (lost or missing)</span>
408 [% IF ( item.withdrawn ) %]
409 <span class="wdn">Withdrawn</span>
412 [% IF ( item.damaged ) %]
413 [% IF itemdamagedloop %]
414 [% FOREACH itemdamagedloo IN itemdamagedloop %]
415 [% IF itemdamagedloo.authorised_value == item.damaged %]
416 <span class="dmg">[% itemdamagedloo.lib %]</span>
420 <span class="dmg">Damaged</span>
424 [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
426 [% IF ( item.notforloanvalue ) %]
427 ([% item.notforloanvalue %])
431 [% IF ( item.reservedate ) %]
432 [% IF ( item.waitingdate ) %]
433 Waiting at [% Branches.GetName( item.ExpectedAtLibrary ) %] since [% item.waitingdate | $KohaDates %].
435 Item-level hold (placed [% item.reservedate | $KohaDates %]) for delivery at [% Branches.GetName( item.ExpectedAtLibrary ) %].
437 [% IF ( canreservefromotherbranches ) %]
439 [% INCLUDE 'patron-title.inc' patron=item.ReservedFor hide_patron_infos_if_needed=1 %]
442 [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || item.reservedate ) %]
446 [% IF ( item.restricted ) %]
447 <span class="restricted">([% item.restricted %])</span>
451 <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td>
452 <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>
454 <td class="enumchron">
455 [% IF ( itemdata_enumchron ) %]
456 [% IF item.enumchron && item.serialseq %]
457 <span class="enum">[% item.enumchron %]</span>
458 [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
459 <span class="sep"> -- </span>
460 <span class="serialseq">[% item.serialseq | html %]</span>
462 [% ELSIF item.enumchron %]
463 <span class="enum">[% item.enumchron | html %]</span>
464 [% ELSIF item.serialseq %]
465 <span class="serialseq">[% item.serialseq | html %]</span>
467 [% IF ( item.publisheddate ) %]
468 <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
473 [% IF ( itemdata_uri ) %]
474 <td class="uri"><a href="[% item.uri %]">[% item.uri %]</a></td>
476 [% IF ( itemdata_copynumber ) %]
477 <td class="copynumber">[% item.copynumber %]</td>
479 [% IF ( itemdata_stocknumber ) %]
480 <td class="stocknumber">[% item.stocknumber %]</td>
483 <td class="materials"> [% item.materials %] </td>
485 [% IF ( itemdata_itemnotes ) %]
486 <td><div class="itemnotes">[% item.itemnotes %]</div></td>
488 [% IF itemdata_nonpublicnotes %]
489 <td class="nonpublicnote">[% item.itemnotes_nonpublic %]</td>
491 [% IF ( SpineLabelShowPrintOnBibDetails ) %]
492 <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]" >Print label</a></td>
494 [% IF ( hostrecords ) %]
495 <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]" >[% item.hosttitle %]</a>[% END %]</td>
499 [% IF ( item.countanalytics ) %]
500 <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] analytics</a>
505 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">Create analytics</a></td>
508 [% IF ShowCourseReserves %]
510 [% IF item.course_reserves %]
511 [% FOREACH r IN item.course_reserves %]
512 [% IF r.course.enabled == 'yes' %]
514 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% r.course.course_id %]">
515 [% r.course.course_name %]
516 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
517 [% IF r.course.section %] [% r.course.section %] [% END %]
518 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
526 [% IF CAN_user_editcatalogue_edit_items %]
528 [% UNLESS item.cannot_be_edited %]
529 <a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]#edititem"><i class="fa fa-pencil"></i> Edit</a>
537 [% END %][%# end of block items_table %]
541 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %]
542 <span class="results_summary NovelistSelect" style="display:none;">
543 <span class="label">Novelist Select: </span>
544 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
549 [% IF ( showncount ) %]
550 [% PROCESS items_table tab="holdings" items=itemloop %]
552 [% IF ( hiddencount ) %]
553 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">Show all items ([% hiddencount %] hidden)</a>
555 [% IF ( debug_display ) %]
558 <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr>
559 <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr>
560 <tr><td>serial</td><td>[% serial %]</td></tr>
564 [% IF ( ALTERNATEHOLDINGS ) %]
565 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
566 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
569 <div id="noitems">No physical items for this record</div>
573 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %]
574 <span class="results_summary NovelistSelect" style="display:none;">
575 <span class="label">Novelist Select: </span>
576 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
581 [% IF (SeparateHoldings) %]
582 <div id="otherholdings">
583 [% IF (otheritemloop.size) %]
584 [% PROCESS items_table tab="otherholdings" items=otheritemloop %]
591 [% IF ( MARCNOTES || notes ) %]
593 <div id="description">
594 <div class="content_set">
596 [% IF ( MARCNOTES ) %]
597 [% FOREACH MARCNOTE IN MARCNOTES %]
599 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
600 <a href="[% MARCNOTE.marcnote %]">[% MARCNOTE.marcnote %]</a>
602 [% MARCNOTE.marcnote FILTER html_line_break %]
616 [% IF ( subscriptionsnumber ) %]
617 <div id="subscriptions">
619 <div id="catalogue_detail_subscriptions">
620 <h2>This is a serial subscription</h2>
621 <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p>
622 [% FOREACH subscription IN subscriptions %]
623 [% IF subscription.branchcode %]
624 <h3>At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode %]</h3>
626 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
627 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %] </p>[% END %]
628 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
629 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
630 [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %]
631 [% IF ( subscription.latestserials ) %]
632 <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p>
636 <th>Date arrived</th>
637 <th>Date published</th>
641 [% FOREACH latestserial IN subscription.latestserials %]
643 <td>[% latestserial.serialseq %]</td>
644 <td>[% latestserial.planneddate %]</td>
645 <td>[% latestserial.publisheddate%]</td>
647 [% IF ( latestserial.status1 ) %]Expected[% END %]
648 [% IF ( latestserial.status2 ) %]Arrived[% END %]
649 [% IF ( latestserial.status3 ) %]Late[% END %]
650 [% IF ( latestserial.status4 ) %]Missing[% END %]
651 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
652 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
653 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
654 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
655 [% IF ( latestserial.status5 ) %]Not issued[% END %]
656 [% IF ( latestserial.status6 ) %]Delete[% END %]
657 [% IF ( latestserial.status7 ) %]Claimed[% END %]
658 [% IF ( latestserial.status8 ) %]Stopped[% END %]
660 <td>[% latestserial.notes %]</td>
665 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription details</a>
672 [% IF Koha.Preference('AcquisitionDetails') %]
673 <div id="acq_details">
679 <th>Basket group</th>
681 <th>Order number</th>
682 <th class="title-string">Creation date</th>
683 <th class="title-string">Receive date</th>
689 [% FOR order IN orders %]
693 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="Vendor detail page">[% order.name %]</a>
697 [% IF (order.basketgroupid) %]
698 [% IF CAN_user_acquisition_group_manage %]
699 <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.id %]&basketgroupid=[% order.basketgroupid %]">[% order.groupname %] ([% order.basketgroupid %])</a>
701 [% order.groupname %] ([% order.basketgroupid %])
705 <td>[% IF CAN_user_acquisition_order_manage %]
706 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %] ([% order.basketno %])</a>
708 [% order.basketname %] ([% order.basketno %])
710 <td>[% order.ordernumber %]</td>
711 <td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td>
712 <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
714 [% SWITCH order.orderstatus %]
716 [% CASE 'ordered' %]Ordered
717 [% CASE 'partial' %]Partial
718 [% CASE 'complete' %]Complete
719 [% CASE 'cancelled' %]Cancelled
722 <td>[% order.quantity %]</td>
728 There is no order for this biblio.
733 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
734 <div id="editions"><h4>Editions</h4>
736 [% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn %][% AmazonAssocTag %]#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 %]
737 [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
738 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author | html %] ©[% XISBN.copyrightdate %]
739 [% IF ( XISBN.publishercode ) %]
740 [% XISBN.publishercode %] [% IF ( XISBN.place ) %]([% XISBN.place %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement %][% END %] [% IF ( XISBN.editionresponsibility ) %][% XISBN.editionresponsibility %][% END %]
742 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages %] [% IF ( XISBN.illus ) %][% XISBN.illus %][% END %]
743 [% IF ( XISBN.size ) %], [% END %][% XISBN.size %]
747 </table></div>[% END %]
750 [% IF ( LocalCoverImages ) %]
752 [% IF ( localimages.0 ) %]
753 <p>Click on an image to view it in the image viewer</p>
754 <ul class="thumbnails">
755 [% FOREACH image IN localimages %]
757 <li id="imagenumber-[% image %]">
758 <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]">
759 <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" />
760 [% IF CAN_user_tools_upload_local_cover_images %]
761 <span class="remove" title="remove this image">Delete image</span>
768 [%# ELSE - No image passed JavaScript takes care %]
773 [% IF ( HTML5MediaEnabled ) %]
774 <div id="html5media">
775 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
777 <[% HTML5MediaParent %] controls preload=none>
778 <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
779 [[% HTML5MediaParent %] tag not supported by your browser.]
780 </[% HTML5MediaParent %]>
787 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
788 <div id="NovelistSelect" class="novelistSelect">
789 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
793 </div><!-- /bibliodetails -->
795 <div class="yui-g" id="export" style="margin-top: 1em;">
796 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
798 <th>Save Record</th> </tr>
799 <tr><td> Select download format: <select name="format">
800 <option value="mods">MODS (XML)</option>
801 <option data-toggle="modal" data-target="#exportModal_">Dublin Core</option>
802 <option value="marcxml">MARCXML</option>
803 <option value="marc8">MARC (non-Unicode/MARC-8)</option>
804 <option value="utf8">MARC (Unicode/UTF-8)</option> </select>
805 <input type="submit" name="save" value="Download Record" /></td>
808 <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber %]" />
814 <div id="marcPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
815 <div class="modal-dialog modal-lg">
816 <div class="modal-content">
817 <div class="modal-header">
818 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
819 <h3 id="marcPreviewLabel">MARC preview</h3>
821 <div class="modal-body">
822 <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
824 <div class="modal-footer">
825 <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
834 [% INCLUDE 'biblio-view-menu.inc' %]
839 [% MACRO jsinclude BLOCK %]
840 [% INCLUDE 'catalog-strings.inc' %]
841 <script type="text/javascript" src="[% interface %]/[% theme %]/js/catalog_[% KOHA_VERSION %].js"></script>
842 [% INCLUDE 'greybox.inc' %]
843 <script type="text/javascript">
844 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
845 function verify_images() {
846 $("#bookcoverimg").each(function(i){
847 $(this).find('img').each(function(i){
848 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'))) {
851 if ((w == 1) || (h == 1)) {
852 $("#amazon-bookcoverimg").remove();
853 $(".yui-gb").attr("class","yui-g");
854 } else if ((this.complete != null) && (!this.complete)) {
855 $("#amazon-bookcoverimg").remove();
856 $(".yui-gb").attr("class","yui-g");
860 if( $(this).find('img').length < 1 ) $(this).remove();
862 $("#editions img").each(function(i){
863 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'))) {
866 if ((w == 1) || (h == 1)) {
867 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
868 } else if ((this.complete != null) && (!this.complete)) {
869 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
875 function removeLocalImage(imagenumber) {
877 url: "/cgi-bin/koha/svc/cover_images?action=delete&biblionumber=" + biblionumber + "&imagenumber=" + imagenumber,
878 success: function(data) {
879 $(data).each( function(i) {
880 if ( this.deleted == 1 ) {
881 $('#imagenumber-' + this.imagenumber).remove();
883 if ( $('ul.thumbnails > li').length == 0 ) {
884 showNoImageMessage();
888 error: function(data) {
889 alert(_("An error occurred on deleting this image"));
894 function showNoImageMessage() {
895 var no_images_msg = _("No images have been uploaded for this bibliographic record yet.");
896 no_images_msg = '<p>' + no_images_msg + '</p>';
897 [% IF ( CAN_user_tools_upload_local_cover_images ) %]
898 var please_upload = _("Please select the image file to upload. %sUpload%s").format("<a class='btn btn-default btn-xs' href='/cgi-bin/koha/tools/upload-cover-image.pl?biblionumber=" + biblionumber + "&filetype=image'><i class='fa fa-upload' aria-hidden='true'></i> ","</a>");
899 no_images_msg += "<p id='upload_image'>" + please_upload + '</p>';
901 $('#images').html(no_images_msg);
904 [% IF StaffDetailItemSelection %]
905 function itemSelectionBuildDeleteLink(div) {
906 var itemnumbers = new Array();
907 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
908 itemnumbers.push($(this).val());
910 if (itemnumbers.length > 0) {
911 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1';
912 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
913 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
914 $('a.itemselection_action_delete').attr('href', url);
921 function itemSelectionBuildModifyLink(div) {
922 var itemnumbers = new Array();
923 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
924 itemnumbers.push($(this).val());
926 if (itemnumbers.length > 0) {
927 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show';
928 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
929 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
930 $('a.itemselection_action_modify').attr('href', url);
937 function itemSelectionBuildActionLinks(tab) {
938 var div = $("#" + tab);
939 var delete_link_ok = itemSelectionBuildDeleteLink(div);
940 var modify_link_ok = itemSelectionBuildModifyLink(div);
941 if (modify_link_ok || delete_link_ok) {
942 $('.itemselection_actions', div).show();
944 $('.itemselection_actions', div).hide();
948 $(document).ready(function() {
949 $('table.items_table').each(function() {
950 var div = $(this).parent().attr("id");
951 itemSelectionBuildActionLinks(div);
954 $("input[name='itemnumber'][type='checkbox']").change(function() {
955 var div = $(this).parents('table').parent().parent().attr("id");
956 itemSelectionBuildActionLinks(div);
959 $(".SelectAll").on("click",function(e){
961 var tab = $(this).data("tab");
962 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', true);
963 itemSelectionBuildActionLinks(tab);
966 $(".ClearAll").on("click",function(e){
968 var tab = $(this).data("tab");
969 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', false);
970 itemSelectionBuildActionLinks(tab);
975 $(document).ready(function() {
976 $('#bibliodetails').tabs();
978 $('#bibliodetails').tabs("option", "active", 3);
980 $('#search-form').focus();
981 $('.thumbnails > li > a > span.remove').click(function() {
982 var result = confirm(_("Are you sure you want to delete this cover image?"));
984 if ( result == true ) {
985 var imagenumber = $(this).parent().parent().attr('id').split('-')[1];
986 removeLocalImage(imagenumber);
991 [%# inject no images message %]
992 [% IF ( LocalCoverImages && ! localimages.0 ) %]
993 showNoImageMessage();
995 [% IF LocalCoverImages %]
996 KOHA.LocalCover.GetCoverFromBibnumber(true);
998 $("body").on("click",".previewMARC", function(e){
1000 var page = $(this).attr("href");
1001 $("#marcPreview .modal-body").load(page + " table");
1002 $('#marcPreview').modal({show:true});
1004 $("#marcPreview").on("hidden", function(){
1005 $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
1007 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
1008 novSelect.loadContentForQuery({
1009 ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
1010 ISBN : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
1013 '[% Koha.Preference('NovelistSelectProfile') %]',
1014 '[% Koha.Preference('NovelistSelectPassword') %]',
1016 if ( d.length > 0 ){ //If no content
1017 $(".NovelistSelect").show();
1024 [% IF ( AmazonCoverImages || LocalCoverImages ) %]$(window).load(function() {
1028 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
1029 <script type="text/javascript" src="https://imageserver.ebscohost.com/novelistselect/ns2init_[% KOHA_VERSION %].js"></script>
1031 [% INCLUDE 'datatables.inc' %]
1032 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter_[% KOHA_VERSION %].js"></script>
1033 [% INCLUDE 'browser-strings.inc' %]
1034 [% INCLUDE 'columns_settings.inc' %]
1035 <script type="text/javascript" src="[% interface %]/js/browser_[% KOHA_VERSION %].js"></script>
1036 <script type="text/javascript" src="[% interface %]/[% theme %]/js/table_filters_[% KOHA_VERSION %].js"></script>
1037 <script type="text/javascript">
1038 var browser = KOHA.browser('[% searchid %]', parseInt(biblionumber, 10));
1041 $(document).ready(function() {
1042 var ids = ['holdings_table', 'otherholdings_table'];
1044 for (var i in ids) {
1046 var dt_parameters = {
1049 'bAutoWidth': false,
1051 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }
1054 var table = KohaTable(id, dt_parameters, null, 'with_filters');
1057 [% IF Koha.Preference('AcquisitionDetails') %]
1058 $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
1061 'bAutoWidth': false,
1062 "aaSorting": [[ 4, "desc" ]],
1064 { "aTargets": "title-string", "sType": "title-string" }
1071 [% INCLUDE 'intranet-bottom.inc' %]