5 [% USE AuthorisedValues %]
8 [% USE ColumnsSettings %]
10 [% IF Koha.Preference('AmazonAssocTag') %]
11 [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
13 [% AmazonAssocTag = '' %]
16 [% ShowCourseReserves = 0 | html %]
17 [% IF UseCourseReserves %]
18 [% FOREACH item IN itemloop %]
19 [% IF item.course_reserves %]
20 [% FOREACH r IN item.course_reserves %]
21 [% IF r.course.enabled == 'yes' %]
22 [% ShowCourseReserves = 1 | html %]
29 [% SET footerjs = 1 %]
30 [% INCLUDE 'doc-head-open.inc' %]
31 <title>Koha › Catalog ›
32 [% IF ( unknownbiblionumber ) %]
35 Details for [% title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]
38 [% INCLUDE 'doc-head-close.inc' %]
39 [% Asset.css("css/datatables.css") | $raw %]
42 <body id="catalog_detail" class="catalog">
44 [% INCLUDE 'header.inc' %]
45 [% INCLUDE 'cat-search.inc' %]
47 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ›
48 [% IF ( unknownbiblionumber ) %]
51 Details for <i>[% title | html %] [% FOREACH subtitl IN subtitle %] [% subtitl.subfield | html %][% END %]</i>
55 <div id="doc3" class="yui-t2">
57 [% IF ( unknownbiblionumber ) %]
58 <div class="dialog message">The record you requested does not exist ([% biblionumber | html %]).</div>
64 [% INCLUDE 'cat-toolbar.inc' %]
66 <!-- COinS / OpenURL -->
67 <span class="Z3988" title="[% ocoins | html %]"></span>
70 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
71 [% IF ( XSLTDetailsDisplay ) %]
73 <div id="catalogue_detail_biblio" class="yui-u first">
76 <div id="catalogue_detail_biblio" class="yui-u first">
79 [% IF ( XSLTDetailsDisplay ) %]
81 <div id="catalogue_detail_biblio">
84 <div id="catalogue_detail_biblio" class="yui-u first">
88 [% IF ( XSLTDetailsDisplay ) %]
91 [% IF shelves.count %]
92 <span class="results_summary"><span class="label">Lists that include this title: </span>
93 [% FOREACH s IN shelves %]
94 <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber | uri %]">[% s.shelfname | html %]</a>
95 [% IF ( loop.last ) %][% ELSE %]|[% END %]
99 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
100 <span class="results_summary"><span class="label">Tags:</span>
101 [% FOREACH TagLoo IN TagLoop %]
102 [% IF ( CAN_user_tools_moderate_tags ) %]
103 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term | html %]</a>
105 [% TagLoo.term | html %]
107 <span class="weight">([% TagLoo.weight_total | html %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]
111 <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 | uri %]&viewas=html" title="MARC" class="previewMARC">Show</a></span>
113 [% IF ( holdcount ) %]
114 <span class="results_summary">
115 <span class="label">Holds:</span>
116 <span class="number_box">
117 [% IF CAN_user_reserveforothers_place_holds %]
118 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber | uri %]">[% holdcount | html %]</a>
120 <span>[% holdcount | html %]</span>
126 [% IF ( article_requests_count = Biblio.ArticleRequestsActiveCount( biblionumber ) ) %]
127 <span class="results_summary">
128 <span class="label">Article requests:</span>
129 <span class="number_box">
130 <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% biblionumber | uri %]">[% article_requests_count | html %]</a>
135 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
136 </div><div class="yui-u" id="bookcoverimg">
137 [% IF ( LocalCoverImages ) %]
138 <div title="[% biblionumber |url %]" class="[% biblionumber | html %]" id="local-thumbnail-preview"></div>
140 [% IF ( AmazonCoverImages ) %]
141 <div id="amazon-bookcoverimg">
142 <a href="http://www.amazon[% AmazonTld | uri %]/gp/reader/[% normalized_isbn | uri %][% AmazonAssocTag | uri %]#reader-link">
143 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn | html %].01.MZZZZZZZ.jpg" alt="" />
149 <h3>[% title | html %]</h3>
150 [% FOREACH subtitl IN subtitle %]
151 <h4>[% subtitl.subfield | html %]</h4>
153 [% UNLESS ( item_level_itypes ) %]<img src="[% imageurl | html %]" alt="[% translated_description | html %]" title="[% translated_description | html %]">[% END %]
154 [% IF ( unititle ) %]<p>[% unititle | html %]</p>[% END %]
155 [% IF ( author ) %]<p>By <a href="/cgi-bin/koha/catalogue/search.pl?q=au:[% author |url %]">[% author | html %]</a></p>[% END %]
157 [% IF ( MARCAUTHORS ) %]
158 <li><strong>Additional authors:</strong><ul>
159 [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
160 <li>[% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %][% MARCAUTHOR_SUBFIELDS_LOO.separator | html %]<a title="‡[% MARCAUTHOR_SUBFIELDS_LOO.code | html %] [% 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 | html %]:[% link_loo.link |url %][% END %]">[% MARCAUTHOR_SUBFIELDS_LOO.value | html %]</a>[% END %]</li>
166 [% IF ( MARCSERIES ) %]
167 <li><strong>Series: </strong><ul>[% FOREACH MARCSERIE IN MARCSERIES %]
168 <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 | html %]</a>[% END %][% IF ( MARCSERIES_SUBFIELDS_LOO.volumenum ) %]. [% MARCSERIES_SUBFIELDS_LOO.volumenum | html %][% END %][% END %]</li>
173 [% IF ( publishercode ) %]
174 <li><strong>Published by:</strong>
175 <a href="/cgi-bin/koha/catalogue/search.pl?q=pb:[% publishercode |url %]">
176 [% publishercode | html %]
177 </a> [% IF ( place ) %]([% place | html %])[% END %] [% IF ( publicationyear ) %], [% publicationyear | html %][% END %] [% IF ( editionstatement ) %][% editionstatement | html %][% END %] [% IF ( editionresponsibility ) %][% editionresponsibility | html %][% END %]
180 <li><strong>Description:</strong>
181 [% IF ( pages ) %] [% END %][% pages | html %] [% IF ( illus ) %][% illus | html %][% END %]
182 [% IF ( size ) %][% size | html %][% END %]
184 [% IF ( MARCURLS ) %]<li>
186 <strong>Online resources:</strong>
187 <ul> [% FOREACH MARCurl IN MARCURLS %]
188 <li>[% IF ( MARCurl.part ) %][% MARCurl.part | html %]
190 <!-- here you might do a tmpl_if name="toc" and use greybox or equivalent for table of contents -->
191 <a href="[% MARCurl.MARCURL | uri %]" title="[% MARCurl.MARCURL | html %]">[% MARCurl.linktext | html %]</a>
192 [% IF ( MARCurl.notes ) %]<ul>[% FOREACH note IN MARCurl.notes %]<li>[% note.note | html %]</li>[% END %]</ul>[% END %]</li>
197 [% IF ( OPACBaseURL ) %]
198 <li><strong>OPAC view:</strong>
199 <a href="[% OPACBaseURL | uri %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | uri %]" target="_blank">Open in new window</a>
202 <li id="catalogue_detail_marc_preview">
203 <strong>MARC Preview:</strong>
204 <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber | uri %]" title="MARC" rel="gb_page_center[600,500]">Show</a>
209 [% IF ( AmazonCoverImages || LocalCoverImages ) %]
210 <div class="yui-u" id="bookcoverimg">
211 [% IF ( LocalCoverImages ) %]
212 <div title="[% biblionumber |url %]" class="[% biblionumber | html %]" id="local-thumbnail-preview"></div>
214 [% IF ( AmazonCoverImages ) %]
215 <div id="amazon-bookcoverimg">
216 <a href="http://www.amazon[% AmazonTld | uri %]/gp/reader/[% normalized_isbn | uri %][% AmazonAssocTag | uri %]#reader-link">
217 <img src="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn | html %].01.MZZZZZZZ.jpg" alt="" />
224 <div class="yui-u" style="margin-top: 1em;">
226 [% IF ( MARCISBNS ) %]
227 <li><strong>ISBN:</strong><ul>[% FOREACH MARCISBN IN MARCISBNS %]<li>[% MARCISBN | html %]</li>[% END %]</ul></li>
229 [% IF ( normalized_isbn ) %]
230 <li><strong>ISBN:</strong> [% normalized_isbn | html %]</li>
234 <li><strong>ISSN:</strong>[% issn | html %]</li>
236 [% IF ( collectiontitle ) %]
237 <li><strong>Collection: </strong>
238 [% collectiontitle | html %] [% IF ( collectionvolume ) %], [% collectionvolume | html %][% END %][% IF ( collectionissn ) %] (<strong>ISSN:</strong> [% collectionissn | html %])[% END %]
241 [% IF ( MARCSUBJCTS ) %]
242 <li><strong>Subjects:</strong>
244 [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
245 <li>[% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] [% MARCSUBJECT_SUBFIELDS_LOO.separator | html %] <a title="‡[% MARCSUBJECT_SUBFIELDS_LOO.code | html %] [% MARCSUBJECT_SUBFIELDS_LOO.value | html %]" href="/cgi-bin/koha/catalogue/search.pl?q=[% FOREACH link_loo IN MARCSUBJECT_SUBFIELDS_LOO.link_loop %][% link_loo.operator |url %][% link_loo.limit | html %]:[% link_loo.link |url %][% END %]">[% MARCSUBJECT_SUBFIELDS_LOO.value | html %]</a>[% END %]</li>
250 [% IF ( copyrightdate ) %]
251 <li><strong>Copyright:</strong> [% copyrightdate | html %]</li>
254 [% IF ( classification ) %]
255 <li><strong>Classification:</strong> [% subclass | html %][% classification | html %]</li>
258 <li><strong>Dewey:</strong> [% dewey | html %]</li>
261 <li><strong>URL:</strong>
262 [% FOREACH url IN urlS %]
263 <a href="[% url.url | uri %]">[% url.url | html %]</a>
267 <!--This grabs all of the lists a bib record appears in -->
268 [% IF shelves.count %]
269 <li><strong>Lists that include this title: </strong>
271 [% FOREACH s IN shelves %]
272 <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% s.shelfnumber | uri %]">[% s.shelfname | html %]</a></li>
277 [% IF ( TagsEnabled && TagsShowOnDetail && TagLoop ) %]
278 <li><strong>Tags:</strong>
280 [% FOREACH TagLoo IN TagLoop %]
282 [% IF ( CAN_user_tools_moderate_tags ) %]
283 <a href="/cgi-bin/koha/tags/list.pl?tag=[% TagLoo.term |url %]">[% TagLoo.term | html %]</a>
285 [% TagLoo.term | html %]
287 <span class="weight">([% TagLoo.weight_total | html %])</span>[% IF ( loop.last ) %][% ELSE %], [% END %]</li>
291 [% IF ( holdcount ) %]<li><strong>Holds:</strong> <span class="number_box"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber | uri %]">[% holdcount | html %]</a></span></li>[% ELSE %][% END %]
297 <div id="bibliodetails" class="toptabs">
300 [% IF (SeparateHoldings) %]
302 <a href="#holdings">[% LoginBranchname | html %] holdings ([% itemloop.size() || 0 | html %])</a>
305 <a href="#otherholdings">Other holdings ([% otheritemloop.size() || 0 | html %])</a>
309 <a href="#holdings">Holdings ([% itemloop.size() || 0 | html %])</a>
312 [% IF ( MARCNOTES || notes ) %]<li><a href="#description">Descriptions</a></li>[% END %]
313 [% IF ( subscriptionsnumber ) %]<li><a href="#subscriptions">Subscriptions</a></li>[% END %]
314 [% IF Koha.Preference('AcquisitionDetails') %]<li><a href="#acq_details">Acquisition details</a></li>[% END %]
315 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]<li><a href="#editions">Editions</a></li>[% END %][% END %]
316 [% IF ( LocalCoverImages ) %]
317 [% IF ( localimages || CAN_user_tools_upload_local_cover_images ) %]
319 <a href="#images">Images ([% localimages.size() || 0 | html %])</a>
323 [% IF ( HTML5MediaEnabled ) %][% IF ( HTML5MediaSets ) %]<li><a href="#html5media">Play media</a></li>[% END %][% END %]
324 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
325 <li class="NovelistSelect" style="display:none;"><a href="#NovelistSelect">NoveList Select</a></li>
329 [% items_table_block_iter = 0 %]
330 [% BLOCK items_table %]
331 [% items_table_block_iter = items_table_block_iter + 1 %]
332 <div class="[% tab | html %]_table_table_controls">
333 [% IF (StaffDetailItemSelection) %]
334 | <a href="#" class="SelectAll" data-tab="[% tab | html %]"><i class="fa fa-check"></i> Select all</a> |
335 <a href="#" class="ClearAll" data-tab="[% tab | html %]"><i class="fa fa-remove"></i> Clear all</a>
336 <span class="itemselection_actions">
338 [% IF CAN_user_tools_items_batchdel %]
339 <a class="itemselection_action_delete"><i class="fa fa-trash"></i> Delete selected items</a>
341 [% IF CAN_user_tools_items_batchmod %]
342 <a class="itemselection_action_modify"><i class="fa fa-pencil"></i> Modify selected items</a>
347 <table class="items_table" id="[% tab | html %]_table">
350 [% IF (StaffDetailItemSelection) %]<th class="NoSort"></th>[% END %]
351 [% IF ( item_level_itypes ) %]<th>Item type</th>[% END %]
352 <th>Current location</th>
353 <th>Home library</th>
354 [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %]
357 <th class="title-string">Last seen</th>
358 <th class="title-string">Date accessioned</th>
360 [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %]
361 [% IF ( itemdata_uri ) %]<th>URL</th>[% END %]
362 [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %]
363 [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %]
364 [% IF materials %]<th>Materials specified</th>[% END %]
365 [% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
366 [% IF ( itemdata_nonpublicnotes ) %]<th>Non-public notes</th>[% END %]
367 [% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine label</th>[% END %]
368 [% IF ( hostrecords ) %]<th>Host records</th>[% END %]
369 [% IF ( analyze ) %]<th>Used in</th><th></th>[% END %]
370 [% IF ( ShowCourseReserves ) %]<th>Course Reserves</th>[% END %]
371 [% IF ( CAN_user_editcatalogue_edit_items ) %]<th class="NoSort"> </th>[% END %]
375 [% FOREACH item IN items %]
377 [% IF (StaffDetailItemSelection) %]
378 <td style="text-align:center;vertical-align:middle">
379 <input type="checkbox" value="[% item.itemnumber | html %]" name="itemnumber" />
382 [% IF ( item_level_itypes ) %]
384 [% IF !noItemTypeImages && item.imageurl %]
385 <img src="[% item.imageurl | html %]" alt="[% item.translated_description | html %]" title="[% item.translated_description | html %]" />
387 [% item.translated_description | html %]
390 <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) | html %] [% END %]</td>
391 <td class="homebranch">[% Branches.GetName(item.homebranch) | html %]<span class="shelvingloc">[% item.location | html %]</span> </td>
392 [% IF ( itemdata_ccode ) %]<td>[% item.ccode | html %]</td>[% END %]
393 <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber | html %][% END %]</td>
396 [% IF item.CheckedOutFor %]
397 [% IF item.onsite_checkout %]
398 <span>Currently in local use
400 <span class="datedue">Checked out
402 [% UNLESS ( item.NOTSAMEBRANCH ) %]
403 [% IF item.onsite_checkout %]
408 [% INCLUDE 'patron-title.inc' patron=item.CheckedOutFor hide_patron_infos_if_needed=1 %]
410 : due [% item.datedue | html %]
412 [% ELSIF ( item.transfertwhen ) %]
413 <span class="intransit">In transit from [% Branches.GetName( item.transfertfrom ) | html %] to [% Branches.GetName( item.transfertto ) | html %] since [% item.transfertwhen | $KohaDates %]</span>
416 [% IF ( item.itemlost ) %]
417 [% IF itemlostloop %]
418 [% FOREACH itemlostloo IN itemlostloop %]
419 [% IF itemlostloo.authorised_value == item.itemlost %]
420 <span class="lost">[% itemlostloo.lib | html %]</span>
424 <span class="lost">Unavailable (lost or missing)</span>
428 [% IF ( item.withdrawn ) %]
429 [% IF itemwithdrawnloop %]
430 [% FOREACH itemwithdrawnloo IN itemwithdrawnloop %]
431 [% IF itemwithdrawnloo.authorised_value == item.withdrawn %]
432 <span class="wdn">[% itemwithdrawnloo.lib | html %]</span>
436 <span class="wdn">Withdrawn</span>
440 [% IF ( item.damaged ) %]
441 [% IF itemdamagedloop %]
442 [% FOREACH itemdamagedloo IN itemdamagedloop %]
443 [% IF itemdamagedloo.authorised_value == item.damaged %]
444 <span class="dmg">[% itemdamagedloo.lib | html %]</span>
448 <span class="dmg">Damaged</span>
452 [% IF ( item.itemnotforloan || item.notforloan_per_itemtype ) %]
454 [% IF ( item.notforloanvalue ) %]
455 ([% item.notforloanvalue | html %])
459 [% IF ( item.reservedate ) %]
460 [% IF ( item.waitingdate ) %]
461 Waiting at [% Branches.GetName( item.ExpectedAtLibrary ) | html %] since [% item.waitingdate | $KohaDates %].
463 Item-level hold (placed [% item.reservedate | $KohaDates %]) for delivery at [% Branches.GetName( item.ExpectedAtLibrary ) | html %].
465 [% IF ( canreservefromotherbranches ) %]
467 [% INCLUDE 'patron-title.inc' patron=item.ReservedFor hide_patron_infos_if_needed=1 %]
470 [% UNLESS ( item.itemnotforloan || item.notforloan_per_itemtype || item.onloan || item.itemlost || item.withdrawn || item.damaged || item.transfertwhen || item.reservedate ) %]
474 [% IF ( item.restricted ) %]
475 <span class="restricted">([% item.restricted | html %])</span>
479 <td class="datelastseen"><span title="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates %]</span></td>
480 <td class="dateaccessioned"><span title="[% item.dateaccessioned | html %]">[% item.dateaccessioned | $KohaDates %]</span></td>
481 <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% item.type | uri %]&itemnumber=[% item.itemnumber | uri %]&biblionumber=[% item.biblionumber | uri %]&bi=[% item.biblioitemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a></td>
483 <td class="enumchron">
484 [% IF ( itemdata_enumchron ) %]
485 [% IF item.enumchron && item.serialseq %]
486 <span class="enum">[% item.enumchron | html %]</span>
487 [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %]
488 <span class="sep"> -- </span>
489 <span class="serialseq">[% item.serialseq | html %]</span>
491 [% ELSIF item.enumchron %]
492 <span class="enum">[% item.enumchron | html %]</span>
493 [% ELSIF item.serialseq %]
494 <span class="serialseq">[% item.serialseq | html %]</span>
496 [% IF ( item.publisheddate ) %]
497 <span class="pubdate">([% item.publisheddate | $KohaDates %])</span>
502 [% IF ( itemdata_uri ) %]
503 <td class="uri"><a href="[% item.uri | uri %]">[% item.uri | html %]</a></td>
505 [% IF ( itemdata_copynumber ) %]
506 <td class="copynumber">[% item.copynumber | html %]</td>
508 [% IF ( itemdata_stocknumber ) %]
509 <td class="stocknumber">[% item.stocknumber | html %]</td>
512 <td class="materials"> [% item.materials | html %] </td>
514 [% IF ( itemdata_itemnotes ) %]
515 <td><div class="itemnotes">[% item.itemnotes | html %]</div></td>
517 [% IF itemdata_nonpublicnotes %]
518 <td class="nonpublicnote">[% item.itemnotes_nonpublic | html %]</td>
520 [% IF ( SpineLabelShowPrintOnBibDetails ) %]
521 <td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% item.barcode | uri %]" >Print label</a></td>
523 [% IF ( hostrecords ) %]
524 <td>[% IF ( item.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.hostbiblionumber | uri %]" >[% item.hosttitle | html %]</a>[% END %]</td>
528 [% IF ( item.countanalytics ) %]
529 <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% item.itemnumber | uri %]">[% item.countanalytics | html %] analytics</a>
534 <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% item.biblionumber | uri %]&hostitemnumber=[% item.itemnumber | uri %]">Create analytics</a></td>
537 [% IF ShowCourseReserves %]
539 [% IF item.course_reserves %]
540 [% FOREACH r IN item.course_reserves %]
541 [% IF r.course.enabled == 'yes' %]
543 <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% r.course.course_id | uri %]">
544 [% r.course.course_name | html %]
545 <!--[% IF r.course.course_number %] [% r.course.course_number | html %] [% END %]-->
546 [% IF r.course.section %] [% r.course.section | html %] [% END %]
547 [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term ) | html %] [% END %]
555 [% IF CAN_user_editcatalogue_edit_items %]
557 [% UNLESS item.cannot_be_edited %]
558 <a class="btn btn-default btn-xs" href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber | html %]&itemnumber=[% item.itemnumber | html %]#edititem"><i class="fa fa-pencil"></i> Edit</a>
566 [% END %][%# end of block items_table %]
570 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'above' ) %]
571 <span class="results_summary NovelistSelect" style="display:none;">
572 <span class="label">Novelist Select: </span>
573 <div data-novelist-novelistselect=[% normalized_isbn | html %]></div>
578 [% IF ( showncount ) %]
579 [% PROCESS items_table tab="holdings" items=itemloop %]
581 [% IF ( hiddencount ) %]
582 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber | uri %]&showallitems=1">Show all items ([% hiddencount | html %] hidden)</a>
584 [% IF ( debug_display ) %]
587 <tr><td>itemdata_enumchron</td><td>[% itemdata_enumchron | html %]</td></tr>
588 <tr><td>itemdata_copynumber</td><td>[% itemdata_copynumber | html %]</td></tr>
589 <tr><td>serial</td><td>[% serial | html %]</td></tr>
593 [% IF ( ALTERNATEHOLDINGS ) %]
594 [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
595 <div id="alternateholdings"><span class="holdings_label">Holdings:</span> [% ALTERNATEHOLDING.holding | html %]</div>
598 <div id="noitems">No physical items for this record</div>
602 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'below' ) %]
603 <span class="results_summary NovelistSelect" style="display:none;">
604 <span class="label">Novelist Select: </span>
605 <div data-novelist-novelistselect=[% normalized_isbn | html %]></div>
610 [% IF (SeparateHoldings) %]
611 <div id="otherholdings">
612 [% IF (otheritemloop.size) %]
613 [% PROCESS items_table tab="otherholdings" items=otheritemloop %]
620 [% IF ( MARCNOTES || notes ) %]
622 <div id="description">
623 <div class="content_set">
625 [% IF ( MARCNOTES ) %]
626 [% FOREACH MARCNOTE IN MARCNOTES %]
628 [% IF MARCNOTE.marcnote.match('^https?://\S+$') %]
629 <a href="[% MARCNOTE.marcnote | uri %]">[% MARCNOTE.marcnote | html %]</a>
631 [% MARCNOTE.marcnote FILTER html_line_break | html %]
637 <p>[% notes | html %]</p>
645 [% IF ( subscriptionsnumber ) %]
646 <div id="subscriptions">
648 <div id="catalogue_detail_subscriptions">
649 <h2>This is a serial subscription</h2>
650 <p> (There are [% subscriptionsnumber | html %] subscriptions associated with this title).</p>
651 [% FOREACH subscription IN subscriptions %]
652 [% IF subscription.branchcode %]
653 <h3>At library: [% Branches.GetName(subscription.branchcode) || subscription.branchcode | html %]</h3>
655 [% IF ( subscription.closed ) %]<p>This subscription is closed.</p>[% END %]
656 [% IF ( subscription.callnumber ) %]<p>Callnumber: [% subscription.callnumber | html %] </p>[% END %]
657 [% IF ( subscription.subscriptionnotes ) %]<p>[% subscription.subscriptionnotes FILTER html_line_break | html %] </p>[% END %]
658 [% IF ( subscription.missinglist ) %]<p>Missing issues: [% subscription.missinglist | html %] </p>[% END %]
659 [% IF ( subscription.librariannote ) %]<p>([% subscription.librariannote | html %])</p>[% END %]
660 [% IF ( subscription.latestserials ) %]
661 <p> The [% subscription.staffdisplaycount | html %] latest issues related to this subscription:</p>
665 <th>Date arrived</th>
666 <th>Date published</th>
670 [% FOREACH latestserial IN subscription.latestserials %]
672 <td>[% latestserial.serialseq | html %]</td>
673 <td>[% latestserial.planneddate | html %]</td>
674 <td>[% latestserial.publisheddate | html %]</td>
676 [% IF ( latestserial.status1 ) %]Expected[% END %]
677 [% IF ( latestserial.status2 ) %]Arrived[% END %]
678 [% IF ( latestserial.status3 ) %]Late[% END %]
679 [% IF ( latestserial.status4 ) %]Missing[% END %]
680 [% IF ( latestserial.status41 ) %]Missing (never received)[% END %]
681 [% IF ( latestserial.status42 ) %]Missing (sold out)[% END %]
682 [% IF ( latestserial.status43 ) %]Missing (damaged)[% END %]
683 [% IF ( latestserial.status44 ) %]Missing (lost)[% END %]
684 [% IF ( latestserial.status5 ) %]Not issued[% END %]
685 [% IF ( latestserial.status6 ) %]Delete[% END %]
686 [% IF ( latestserial.status7 ) %]Claimed[% END %]
687 [% IF ( latestserial.status8 ) %]Stopped[% END %]
689 <td>[% latestserial.notes | html %]</td>
694 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid | uri %]">Subscription details</a>
701 [% IF Koha.Preference('AcquisitionDetails') %]
702 <div id="acq_details">
709 <th>Basket group</th>
711 <th>Order number</th>
712 <th class="title-string">Creation date</th>
713 <th class="title-string">Receive date</th>
716 <th>Subscription</th>
717 <th>Subscription callnumber</th>
721 [% FOR order IN orders %]
722 [% SET basket = order.basket %]
723 [% SET vendor = basket.bookseller %]
726 <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% vendor.id | uri %]" title="Vendor detail page">[% vendor.name | html %]</a>
729 [% IF order.invoiceid %]
730 [% IF CAN_user_acquisition %]
731 <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% order.invoiceid | uri %]"
732 title="Invoice detail page">
733 [% order.invoice.invoicenumber | html %]</a>
735 [% order.invoice.invoicenumber | html %]
740 [% IF basket.basketgroupid %]
741 [% SET basket_group = basket.basket_group %]
742 [% IF CAN_user_acquisition_group_manage %]
743 <a href="/cgi-bin/koha/acqui/basketgroup.pl?op=add&booksellerid=[% vendor.id | uri %]&basketgroupid=[% basket_group.id | uri %]">[% basket_group.name | html%] ([% basket_group.id | html %])</a>
745 [% basket_group.name | html %] ([% basket_group.id | html %])
749 <td>[% IF CAN_user_acquisition_order_manage %]
750 <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | uri %]">[% basket.basketname | html %] ([% basket.basketno | html %])</a>
752 [% basket.basketname | html %] ([% basket.basketno | html %])
754 <td>[% order.ordernumber | html %]</td>
755 <td><span title="[% basket.creationdate | uri %]">[% basket.creationdate | $KohaDates%]</span></td>
756 <td><span title="[% order.datereceived | uri %]">[% order.datereceived | $KohaDates%]</span></td>
758 [% SWITCH order.orderstatus %]
760 [% CASE 'ordered' %]Ordered
761 [% CASE 'partial' %]Partial
762 [% CASE 'complete' %]Complete
763 [% CASE 'cancelled' %]Cancelled
766 <td>[% order.quantity | html %]</td>
768 [% IF order.subscriptionid %]
769 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% order.subscriptionid | uri %]">[% order.subscriptionid | html %]</a>
773 [% IF order.subscriptionid %]
774 [% order.subscription.callnumber | html %]
782 There is no order for this biblio.
787 [% IF ( FRBRizeEditions ) %][% IF ( XISBNS ) %]
788 <div id="editions"><h4>Editions</h4>
790 [% FOREACH XISBN IN XISBNS %]<tr>[% IF ( AmazonCoverImages ) %]<td><a href="http://www.amazon.com/gp/reader/[% XISBN.normalized_isbn | uri %][% AmazonAssocTag | uri %]#reader-link"><img src="https://images-na.ssl-images-amazon.com/images/P/[% XISBN.normalized_isbn | html %].01._AA75_PU_PU-5_.jpg" /></a></td>[% END %]
791 [% UNLESS ( item_level_itypes ) %]<td>[% IF ( noItemTypeImages ) %][% XISBN.description | html %][% ELSE %]<img src="[% XISBN.imageurl | html %]" alt="[% XISBN.description | html %]" title="[% XISBN.description | html %]">[% END %]</td>[% END %]
792 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% XISBN.biblionumber | uri %]">[% XISBN.title | html %]</a> by [% XISBN.author | html %] ©[% XISBN.copyrightdate | html %]
793 [% IF ( XISBN.publishercode ) %]
794 [% XISBN.publishercode | html %] [% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %] [% IF ( XISBN.publicationyear ) %], [% XISBN.publicationyear | html %][% END %] [% IF ( XISBN.editionstatement ) %][% XISBN.editionstatement | html %][% END %] [% IF ( XISBN.editionresponsibility ) %][% XISBN.editionresponsibility | html %][% END %]
796 [% IF ( XISBN.pages ) %] [% END %][% XISBN.pages | html %] [% IF ( XISBN.illus ) %][% XISBN.illus | html %][% END %]
797 [% IF ( XISBN.size ) %], [% END %][% XISBN.size | html %]
801 </table></div>[% END %]
804 [% IF ( LocalCoverImages ) %]
806 [% IF ( localimages.0 ) %]
807 <p>Click on an image to view it in the image viewer</p>
808 <ul class="thumbnails">
809 [% FOREACH image IN localimages %]
811 <li id="imagenumber-[% image | html %]">
812 <a class="thumbnail" href="/cgi-bin/koha/catalogue/imageviewer.pl?biblionumber=[% biblionumber | html %]&imagenumber=[% image | html %]">
813 <img alt="remove this image" src="/cgi-bin/koha/catalogue/image.pl?thumbnail=1&imagenumber=[% image | html %]" />
814 [% IF CAN_user_tools_upload_local_cover_images %]
815 <span class="remove" title="remove this image">Delete image</span>
822 [%# ELSE - No image passed JavaScript takes care %]
827 [% IF ( HTML5MediaEnabled ) %]
828 <div id="html5media">
829 [% FOREACH HTML5MediaSet IN HTML5MediaSets %]
831 <[% HTML5MediaParent | html %] controls preload=none>
832 <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | html %]"[% HTML5MediaSet.typeblock | html %] />
833 [[% HTML5MediaParent | html %] tag not supported by your browser.]
834 </[% HTML5MediaParent | html %]>
841 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && Koha.Preference('NovelistSelectStaffView') == 'tab' ) %]
842 <div id="NovelistSelect" class="novelistSelect">
843 <div data-novelist-novelistselect=[% normalized_isbn | html %]></div>
847 </div><!-- /bibliodetails -->
849 <div class="yui-g" id="export" style="margin-top: 1em;">
850 <form method="get" action="/cgi-bin/koha/catalogue/export.pl">
852 <th>Save Record</th> </tr>
853 <tr><td> Select download format: <select name="format">
854 <option value="mods">MODS (XML)</option>
855 <option data-toggle="modal" data-target="#exportModal_">Dublin Core</option>
856 <option value="marcxml">MARCXML</option>
857 <option value="marc8">MARC (non-Unicode/MARC-8)</option>
858 <option value="utf8">MARC (Unicode/UTF-8)</option> </select>
859 <input type="submit" name="save" value="Download Record" /></td>
862 <input type="hidden" name="op" value="export" /><input type="hidden" name="bib" value="[% biblionumber | html %]" />
868 <div id="marcPreview" class="modal" tabindex="-1" role="dialog" aria-labelledby="marcPreviewLabel" aria-hidden="true">
869 <div class="modal-dialog modal-lg">
870 <div class="modal-content">
871 <div class="modal-header">
872 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
873 <h3 id="marcPreviewLabel">MARC preview</h3>
875 <div class="modal-body">
876 <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
878 <div class="modal-footer">
879 <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
888 [% INCLUDE 'biblio-view-menu.inc' %]
893 [% MACRO jsinclude BLOCK %]
894 [% INCLUDE 'catalog-strings.inc' %]
895 [% Asset.js("js/catalog.js") | $raw %]
896 [% INCLUDE 'greybox.inc' %]
897 <script type="text/javascript">
898 // http://www.oreillynet.com/pub/a/javascript/2003/10/21/amazonhacks.html
899 function verify_images() {
900 $("#bookcoverimg").each(function(i){
901 $(this).find('img').each(function(i){
902 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'))) {
905 if ((w == 1) || (h == 1)) {
906 $("#amazon-bookcoverimg").remove();
907 $(".yui-gb").attr("class","yui-g");
908 } else if ((this.complete != null) && (!this.complete)) {
909 $("#amazon-bookcoverimg").remove();
910 $(".yui-gb").attr("class","yui-g");
914 if( $(this).find('img').length < 1 ) $(this).remove();
916 $("#editions img").each(function(i){
917 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'))) {
920 if ((w == 1) || (h == 1)) {
921 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
922 } else if ((this.complete != null) && (!this.complete)) {
923 this.src = 'https://images-na.ssl-images-amazon.com/images/G/01/x-site/icons/no-img-sm.gif';
929 function removeLocalImage(imagenumber) {
931 url: "/cgi-bin/koha/svc/cover_images?action=delete&biblionumber=" + biblionumber + "&imagenumber=" + imagenumber,
932 success: function(data) {
933 $(data).each( function(i) {
934 if ( this.deleted == 1 ) {
935 $('#imagenumber-' + this.imagenumber).remove();
937 if ( $('ul.thumbnails > li').length == 0 ) {
938 showNoImageMessage();
942 error: function(data) {
943 alert(_("An error occurred on deleting this image"));
948 function showNoImageMessage() {
949 var no_images_msg = _("No images have been uploaded for this bibliographic record yet.");
950 no_images_msg = '<p>' + no_images_msg + '</p>';
951 [% IF ( CAN_user_tools_upload_local_cover_images ) %]
952 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>");
953 no_images_msg += "<p id='upload_image'>" + please_upload + '</p>';
955 $('#images').html(no_images_msg);
958 [% IF StaffDetailItemSelection %]
959 function itemSelectionBuildDeleteLink(div) {
960 var itemnumbers = new Array();
961 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
962 itemnumbers.push($(this).val());
964 if (itemnumbers.length > 0) {
965 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show&del=1';
966 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
967 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
968 $('a.itemselection_action_delete').attr('href', url);
975 function itemSelectionBuildModifyLink(div) {
976 var itemnumbers = new Array();
977 $("input[name='itemnumber'][type='checkbox']:checked", div).each(function() {
978 itemnumbers.push($(this).val());
980 if (itemnumbers.length > 0) {
981 var url = '/cgi-bin/koha/tools/batchMod.pl?op=show';
982 url += '&itemnumber=' + itemnumbers.join('&itemnumber=');
983 url += '&src=' + '[% "/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber" |uri %]';
984 $('a.itemselection_action_modify').attr('href', url);
991 function itemSelectionBuildActionLinks(tab) {
992 var div = $("#" + tab);
993 var delete_link_ok = itemSelectionBuildDeleteLink(div);
994 var modify_link_ok = itemSelectionBuildModifyLink(div);
995 if (modify_link_ok || delete_link_ok) {
996 $('.itemselection_actions', div).show();
998 $('.itemselection_actions', div).hide();
1002 $(document).ready(function() {
1003 $('table.items_table').each(function() {
1004 var div = $(this).parent().attr("id");
1005 itemSelectionBuildActionLinks(div);
1008 $("input[name='itemnumber'][type='checkbox']").change(function() {
1009 var div = $(this).parents('table').parent().parent().attr("id");
1010 itemSelectionBuildActionLinks(div);
1013 $(".SelectAll").on("click",function(e){
1015 var tab = $(this).data("tab");
1016 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', true);
1017 itemSelectionBuildActionLinks(tab);
1020 $(".ClearAll").on("click",function(e){
1022 var tab = $(this).data("tab");
1023 $("input[name='itemnumber'][type='checkbox']", $("#"+tab)).prop('checked', false);
1024 itemSelectionBuildActionLinks(tab);
1029 $(document).ready(function() {
1030 $('#bibliodetails').tabs();
1032 $('#bibliodetails').tabs("option", "active", 3);
1034 $('#search-form').focus();
1035 $('.thumbnails > li > a > span.remove').click(function() {
1036 var result = confirm(_("Are you sure you want to delete this cover image?"));
1038 if ( result == true ) {
1039 var imagenumber = $(this).parent().parent().attr('id').split('-')[1];
1040 removeLocalImage(imagenumber);
1045 [%# inject no images message %]
1046 [% IF ( LocalCoverImages && ! localimages.0 ) %]
1047 showNoImageMessage();
1049 [% IF LocalCoverImages %]
1050 KOHA.LocalCover.GetCoverFromBibnumber(true);
1052 $("body").on("click",".previewMARC", function(e){
1054 var page = $(this).attr("href");
1055 $("#marcPreview .modal-body").load(page + " table");
1056 $('#marcPreview').modal({show:true});
1058 $("#marcPreview").on("hidden", function(){
1059 $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
1061 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %]
1062 novSelect.loadContentForQuery({
1063 ClientIdentifier : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]',
1064 ISBN : '[% IF normalized_isbn %][% normalized_isbn | html %][% ELSE %][% normalized_upc | html %][% END %]',
1067 '[% Koha.Preference('NovelistSelectStaffProfile') | html %]',
1068 '[% Koha.Preference('NovelistSelectPassword') | html %]',
1070 if ( d.length > 0 ){ //If no content
1071 $(".NovelistSelect").show();
1078 [% IF ( AmazonCoverImages || LocalCoverImages ) %]$(window).load(function() {
1082 [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %]
1083 <script src="https://imageserver.ebscohost.com/novelistselect/ns2init.js"></script>
1085 [% INCLUDE 'datatables.inc' %]
1086 [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %]
1087 [% INCLUDE 'browser-strings.inc' %]
1088 [% INCLUDE 'columns_settings.inc' %]
1089 [% Asset.js("js/browser.js") | $raw %]
1090 [% Asset.js("js/table_filters.js") | $raw %]
1091 <script type="text/javascript">
1093 browser = KOHA.browser('[% searchid | html %]', parseInt(biblionumber, 10));
1096 $(document).ready(function() {
1097 var ids = ['holdings_table', 'otherholdings_table'];
1099 for (var i in ids) {
1101 var dt_parameters = {
1104 'bAutoWidth': false,
1106 { "bSortable": false, "bSearchable": false, 'aTargets': [ 'NoSort' ] },
1107 { "sType": "title-string", "aTargets" : [ "title-string" ] }
1110 var table = KohaTable(id, dt_parameters, null, 'with_filters');
1113 [% IF Koha.Preference('AcquisitionDetails') %]
1114 var columns_settings = [% ColumnsSettings.GetColumns('catalogue', 'detail', 'acquisitiondetails-table', 'json') %];
1115 var acquisitiondetails_table = KohaTable("orders", {
1116 "sDom": 'C<"top pager"ilpfB><"#filter_c">tr<"bottom pager"ip>',
1118 'bAutoWidth': false,
1119 "aaSorting": [[ 4, "desc" ]],
1121 { "aTargets": "title-string", "sType": "title-string" }
1123 }, columns_settings);
1128 [% INCLUDE 'intranet-bottom.inc' %]