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 [% IF itemwithdrawnloop %]
410 [% FOREACH itemwithdrawnloo IN itemwithdrawnloop %]
411 [% IF itemwithdrawnloo.authorised_value == item.withdrawn %]
412 <span class="wdn">[% itemwithdrawnloo.lib %]</span>
416 <span class="wdn">Withdrawn</span>
420 [% IF ( item.damaged ) %]
421 [% IF itemdamagedloop %]
422 [% FOREACH itemdamagedloo IN itemdamagedloop %]
423 [% IF itemdamagedloo.authorised_value == item.damaged %]
424 <span class="dmg">[% itemdamagedloo.lib %]</span>
428 <span class="dmg">Damaged</span>
432 [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
434 [% IF ( item.notforloanvalue ) %]
435 ([% item.notforloanvalue %])
439 [% IF ( item.reservedate ) %]
440 [% IF ( item.waitingdate ) %]
441 Waiting at [% Branches.GetName( item.ExpectedAtLibrary ) %] since [% item.waitingdate | $KohaDates %].
443 Item-level hold (placed [% item.reservedate | $KohaDates %]) for delivery at [% Branches.GetName( item.ExpectedAtLibrary ) %].
445 [% IF ( canreservefromotherbranches ) %]
447 [% INCLUDE 'patron-title.inc' patron=item.ReservedFor hide_patron_infos_if_needed=1 %]
450 [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || item.reservedate ) %]
454 [% IF ( item.restricted ) %]
455 <span class="restricted">([% item.restricted %])</span>
459 <td class="datelastseen">[% item.datelastseen | $KohaDates %]</td>
460 <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>
462 <td class="enumchron">
463 [% IF ( itemdata_enumchron ) %]
464 [% IF item.enumchron && item.serialseq %]
465 <span class="enum">[% item.enumchron %]</span>
466 [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
467 <span class="sep"> -- </span>
468 <span class="serialseq">[% item.serialseq | html %]</span>
470 [% ELSIF item.enumchron %]
471 <span class="enum">[% item.enumchron | html %]</span>
472 [% ELSIF item.serialseq %]
473 <span class="serialseq">[% item.serialseq | html %]</span>
475 [% IF ( item.publisheddate ) %]
476 <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
481 [% IF ( itemdata_uri ) %]
482 <td class="uri"><a href="[% item.uri %]">[% item.uri %]</a></td>
484 [% IF ( itemdata_copynumber ) %]
485 <td class="copynumber">[% item.copynumber %]</td>
487 [% IF ( itemdata_stocknumber ) %]
488 <td class="stocknumber">[% item.stocknumber %]</td>
491 <td class="materials"> [% item.materials %] </td>
493 [% IF ( itemdata_itemnotes ) %]
494 <td><div class="itemnotes">[% item.itemnotes %]</div></td>
496 [% IF itemdata_nonpublicnotes %]
497 <td class="nonpublicnote">[% item.itemnotes_nonpublic %]</td>
499 [% IF ( SpineLabelShowPrintOnBibDetails ) %]
500 <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode %]" >Print label</a></td>
502 [% IF ( hostrecords ) %]
503 <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber %]" >[% item.hosttitle %]</a>[% END %]</td>
507 [% IF ( item.countanalytics ) %]
508 <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber %]">[% item.countanalytics %] analytics</a>
513 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber %]&hostitemnumber=[% item.itemnumber %]">Create analytics</a></td>
516 [% IF ShowCourseReserves %]
518 [% IF item.course_reserves %]
519 [% FOREACH r IN item.course_reserves %]
520 [% IF r.course.enabled == 'yes' %]
522 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% r.course.course_id %]">
523 [% r.course.course_name %]
524 <!--[% IF r.course.course_number %] [% r.course.course_number %] [% END %]-->
525 [% IF r.course.section %] [% r.course.section %] [% END %]
526 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) %] [% END %]
534 [% IF CAN_user_editcatalogue_edit_items %]
536 [% UNLESS item.cannot_be_edited %]
537 <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>
545 [% END %][%# end of block items_table %]
549 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %]
550 <span class="results_summary NovelistSelect" style="display:none;">
551 <span class="label">Novelist Select: </span>
552 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
557 [% IF ( showncount ) %]
558 [% PROCESS items_table tab="holdings" items=itemloop %]
560 [% IF ( hiddencount ) %]
561 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&showallitems=1">Show all items ([% hiddencount %] hidden)</a>
563 [% IF ( debug_display ) %]
566 <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron %]</td></tr>
567 <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber %]</td></tr>
568 <tr><td>serial</td><td>[% serial %]</td></tr>
572 [% IF ( ALTERNATEHOLDINGS ) %]
573 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
574 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding %]</div>
577 <div id="noitems">No physical items for this record</div>
581 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %]
582 <span class="results_summary NovelistSelect" style="display:none;">
583 <span class="label">Novelist Select: </span>
584 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
589 [% IF (SeparateHoldings) %]
590 <div id="otherholdings">
591 [% IF (otheritemloop.size) %]
592 [% PROCESS items_table tab="otherholdings" items=otheritemloop %]
599 [% IF ( MARCNOTES || notes ) %]
601 <div id="description">
602 <div class="content_set">
604 [% IF ( MARCNOTES ) %]
605 [% FOREACH MARCNOTE IN MARCNOTES %]
607 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
608 <a href="[% MARCNOTE.marcnote %]">[% MARCNOTE.marcnote %]</a>
610 [% MARCNOTE.marcnote FILTER html_line_break %]
624 [% IF ( subscriptionsnumber ) %]
625 <div id="subscriptions">
627 <div id="catalogue_detail_subscriptions">
628 <h2>This is a serial subscription</h2>
629 <p> (There are [% subscriptionsnumber %] subscriptions associated with this title).</p>
630 [% FOREACH subscription IN subscriptions %]
631 [% IF subscription.branchcode %]
632 <h3>At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode %]</h3>
634 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
635 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber %] </p>[% END %]
636 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break %] </p>[% END %]
637 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist %] </p>[% END %]
638 [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote %])</p>[% END %]
639 [% IF ( subscription.latestserials ) %]
640 <p> The [% subscription.staffdisplaycount %] latest issues related to this subscription:</p>
644 <th>Date arrived</th>
645 <th>Date published</th>
649 [% FOREACH latestserial IN subscription.latestserials %]
651 <td>[% latestserial.serialseq %]</td>
652 <td>[% latestserial.planneddate %]</td>
653 <td>[% latestserial.publisheddate%]</td>
655 [% IF ( latestserial.status1 ) %]Expected[% END %]
656 [% IF ( latestserial.status2 ) %]Arrived[% END %]
657 [% IF ( latestserial.status3 ) %]Late[% END %]
658 [% IF ( latestserial.status4 ) %]Missing[% END %]
659 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
660 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
661 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
662 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
663 [% IF ( latestserial.status5 ) %]Not issued[% END %]
664 [% IF ( latestserial.status6 ) %]Delete[% END %]
665 [% IF ( latestserial.status7 ) %]Claimed[% END %]
666 [% IF ( latestserial.status8 ) %]Stopped[% END %]
668 <td>[% latestserial.notes %]</td>
673 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]">Subscription details</a>
680 [% IF Koha.Preference('AcquisitionDetails') %]
681 <div id="acq_details">
687 <th>Basket group</th>
689 <th>Order number</th>
690 <th class="title-string">Creation date</th>
691 <th class="title-string">Receive date</th>
697 [% FOR order IN orders %]
701 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.id %]" title="Vendor detail page">[% order.name %]</a>
705 [% IF (order.basketgroupid) %]
706 [% IF CAN_user_acquisition_group_manage %]
707 <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% order.id %]&basketgroupid=[% order.basketgroupid %]">[% order.groupname %] ([% order.basketgroupid %])</a>
709 [% order.groupname %] ([% order.basketgroupid %])
713 <td>[% IF CAN_user_acquisition_order_manage %]
714 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% order.basketno %]">[% order.basketname %] ([% order.basketno %])</a>
716 [% order.basketname %] ([% order.basketno %])
718 <td>[% order.ordernumber %]</td>
719 <td><span title="[% order.creationdate %]">[% order.creationdate | $KohaDates%]</span></td>
720 <td><span title="[% order.datereceived %]">[% order.datereceived | $KohaDates%]</span></td>
722 [% SWITCH order.orderstatus %]
724 [% CASE 'ordered' %]Ordered
725 [% CASE 'partial' %]Partial
726 [% CASE 'complete' %]Complete
727 [% CASE 'cancelled' %]Cancelled
730 <td>[% order.quantity %]</td>
736 There is no order for this biblio.
741 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
742 <div id="editions"><h4>Editions</h4>
744 [% 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 %]
745 [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description %][% ELSE %]<img src="[% XISBN.imageurl %]" alt="[% XISBN.description %]" title="[% XISBN.description %]">[% END %]</td>[% END %]
746 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber %]">[% XISBN.title |html %]</a> by [% XISBN.author | html %] ©[% XISBN.copyrightdate %]
747 [% IF ( XISBN.publishercode ) %]
748 [% 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 %]
750 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages %] [% IF ( XISBN.illus ) %][% XISBN.illus %][% END %]
751 [% IF ( XISBN.size ) %], [% END %][% XISBN.size %]
755 </table></div>[% END %]
758 [% IF ( LocalCoverImages ) %]
760 [% IF ( localimages.0 ) %]
761 <p>Click on an image to view it in the image viewer</p>
762 <ul class="thumbnails">
763 [% FOREACH image IN localimages %]
765 <li id="imagenumber-[% image %]">
766 <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber %]&imagenumber=[% image %]">
767 <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image %]" />
768 [% IF CAN_user_tools_upload_local_cover_images %]
769 <span class="remove" title="remove this image">Delete image</span>
776 [%# ELSE - No image passed JavaScript takes care %]
781 [% IF ( HTML5MediaEnabled ) %]
782 <div id="html5media">
783 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
785 <[% HTML5MediaParent %] controls preload=none>
786 <[% HTML5MediaSet.child %] src="[% HTML5MediaSet.srcblock %]"[% HTML5MediaSet.typeblock %] />
787 [[% HTML5MediaParent %] tag not supported by your browser.]
788 </[% HTML5MediaParent %]>
795 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
796 <div id="NovelistSelect" class="novelistSelect">
797 <div data-novelist-novelistselect=[% normalized_isbn %]></div>
801 </div><!-- /bibliodetails -->
803 <div class="yui-g" id="export" style="margin-top: 1em;">
804 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
806 <th>Save Record</th> </tr>
807 <tr><td> Select download format: <select name="format">
808 <option value="mods">MODS (XML)</option>
809 <option data-toggle="modal" data-target="#exportModal_">Dublin Core</option>
810 <option value="marcxml">MARCXML</option>
811 <option value="marc8">MARC (non-Unicode/MARC-8)</option>
812 <option value="utf8">MARC (Unicode/UTF-8)</option> </select>
813 <input type="submit" name="save" value="Download Record" /></td>
816 <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber %]" />
822 <div id="marcPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
823 <div class="modal-dialog modal-lg">
824 <div class="modal-content">
825 <div class="modal-header">
826 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
827 <h3 id="marcPreviewLabel">MARC preview</h3>
829 <div class="modal-body">
830 <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
832 <div class="modal-footer">
833 <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
842 [% INCLUDE 'biblio-view-menu.inc' %]
847 [% MACRO jsinclude BLOCK %]
848 [% INCLUDE 'catalog-strings.inc' %]
849 <script type="text/javascript" src="[% interface %]/[% theme %]/js/catalog_[% KOHA_VERSION %].js"></script>
850 [% INCLUDE 'greybox.inc' %]
851 <script type="text/javascript">
852 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
853 function verify_images() {
854 $("#bookcoverimg").each(function(i){
855 $(this).find('img').each(function(i){
856 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'))) {
859 if ((w == 1) || (h == 1)) {
860 $("#amazon-bookcoverimg").remove();
861 $(".yui-gb").attr("class","yui-g");
862 } else if ((this.complete != null) && (!this.complete)) {
863 $("#amazon-bookcoverimg").remove();
864 $(".yui-gb").attr("class","yui-g");
868 if( $(this).find('img').length < 1 ) $(this).remove();
870 $("#editions img").each(function(i){
871 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'))) {
874 if ((w == 1) || (h == 1)) {
875 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
876 } else if ((this.complete != null) && (!this.complete)) {
877 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
883 function removeLocalImage(imagenumber) {
885 url: "/cgi-bin/koha/svc/cover_images?action=delete&biblionumber=" + biblionumber + "&imagenumber=" + imagenumber,
886 success: function(data) {
887 $(data).each( function(i) {
888 if ( this.deleted == 1 ) {
889 $('#imagenumber-' + this.imagenumber).remove();
891 if ( $('ul.thumbnails > li').length == 0 ) {
892 showNoImageMessage();
896 error: function(data) {
897 alert(_("An error occurred on deleting this image"));
902 function showNoImageMessage() {
903 var no_images_msg = _("No images have been uploaded for this bibliographic record yet.");
904 no_images_msg = '<p>' + no_images_msg + '</p>';
905 [% IF ( CAN_user_tools_upload_local_cover_images ) %]
906 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>");
907 no_images_msg += "<p id='upload_image'>" + please_upload + '</p>';
909 $('#images').html(no_images_msg);
912 [% IF StaffDetailItemSelection %]
913 function itemSelectionBuildDeleteLink(div) {
914 var itemnumbers = new Array();
915 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
916 itemnumbers.push($(this).val());
918 if (itemnumbers.length > 0) {
919 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1';
920 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
921 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
922 $('a.itemselection_action_delete').attr('href', url);
929 function itemSelectionBuildModifyLink(div) {
930 var itemnumbers = new Array();
931 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
932 itemnumbers.push($(this).val());
934 if (itemnumbers.length > 0) {
935 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show';
936 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
937 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
938 $('a.itemselection_action_modify').attr('href', url);
945 function itemSelectionBuildActionLinks(tab) {
946 var div = $("#" + tab);
947 var delete_link_ok = itemSelectionBuildDeleteLink(div);
948 var modify_link_ok = itemSelectionBuildModifyLink(div);
949 if (modify_link_ok || delete_link_ok) {
950 $('.itemselection_actions', div).show();
952 $('.itemselection_actions', div).hide();
956 $(document).ready(function() {
957 $('table.items_table').each(function() {
958 var div = $(this).parent().attr("id");
959 itemSelectionBuildActionLinks(div);
962 $("input[name='itemnumber'][type='checkbox']").change(function() {
963 var div = $(this).parents('table').parent().parent().attr("id");
964 itemSelectionBuildActionLinks(div);
967 $(".SelectAll").on("click",function(e){
969 var tab = $(this).data("tab");
970 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', true);
971 itemSelectionBuildActionLinks(tab);
974 $(".ClearAll").on("click",function(e){
976 var tab = $(this).data("tab");
977 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', false);
978 itemSelectionBuildActionLinks(tab);
983 $(document).ready(function() {
984 $('#bibliodetails').tabs();
986 $('#bibliodetails').tabs("option", "active", 3);
988 $('#search-form').focus();
989 $('.thumbnails > li > a > span.remove').click(function() {
990 var result = confirm(_("Are you sure you want to delete this cover image?"));
992 if ( result == true ) {
993 var imagenumber = $(this).parent().parent().attr('id').split('-')[1];
994 removeLocalImage(imagenumber);
999 [%# inject no images message %]
1000 [% IF ( LocalCoverImages && ! localimages.0 ) %]
1001 showNoImageMessage();
1003 [% IF LocalCoverImages %]
1004 KOHA.LocalCover.GetCoverFromBibnumber(true);
1006 $("body").on("click",".previewMARC", function(e){
1008 var page = $(this).attr("href");
1009 $("#marcPreview .modal-body").load(page + " table");
1010 $('#marcPreview').modal({show:true});
1012 $("#marcPreview").on("hidden", function(){
1013 $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
1015 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
1016 novSelect.loadContentForQuery({
1017 ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
1018 ISBN : '[% IF normalized_isbn %][% normalized_isbn %][% ELSE %][% normalized_upc %][% END %]',
1021 '[% Koha.Preference('NovelistSelectProfile') %]',
1022 '[% Koha.Preference('NovelistSelectPassword') %]',
1024 if ( d.length > 0 ){ //If no content
1025 $(".NovelistSelect").show();
1032 [% IF ( AmazonCoverImages || LocalCoverImages ) %]$(window).load(function() {
1036 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
1037 <script type="text/javascript" src="https://imageserver.ebscohost.com/novelistselect/ns2init_[% KOHA_VERSION %].js"></script>
1039 [% INCLUDE 'datatables.inc' %]
1040 <script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.columnFilter_[% KOHA_VERSION %].js"></script>
1041 [% INCLUDE 'browser-strings.inc' %]
1042 [% INCLUDE 'columns_settings.inc' %]
1043 <script type="text/javascript" src="[% interface %]/js/browser_[% KOHA_VERSION %].js"></script>
1044 <script type="text/javascript" src="[% interface %]/[% theme %]/js/table_filters_[% KOHA_VERSION %].js"></script>
1045 <script type="text/javascript">
1047 browser = KOHA.browser('[% searchid %]', parseInt(biblionumber, 10));
1050 $(document).ready(function() {
1051 var ids = ['holdings_table', 'otherholdings_table'];
1053 for (var i in ids) {
1055 var dt_parameters = {
1058 'bAutoWidth': false,
1060 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }
1063 var table = KohaTable(id, dt_parameters, null, 'with_filters');
1066 [% IF Koha.Preference('AcquisitionDetails') %]
1067 $("#orders").dataTable($.extend(true, {}, dataTablesDefaults, {
1070 'bAutoWidth': false,
1071 "aaSorting": [[ 4, "desc" ]],
1073 { "aTargets": "title-string", "sType": "title-string" }
1080 [% INCLUDE 'intranet-bottom.inc' %]