[% USE raw %] [% USE Asset %] [% USE Math %] [% USE Koha %] [% USE KohaDates %] [% USE Branches %] [% USE TablesSettings %] [% USE AuthorisedValues %] [% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %] [% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %] [% IF Koha.Preference('AmazonAssocTag') %] [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %] [% ELSE %] [% AmazonAssocTag = '' %] [% END %] [% ShowCourseReservesHeader = 0 %] [% IF Koha.Preference( 'UseCourseReserves' ) == 1 %] [% FOREACH ITEM_RESULT IN itemloop %] [% IF ITEM_RESULT.course_reserves %] [% FOREACH r IN ITEM_RESULT.course_reserves %] [% IF r.course.enabled == 'yes' %] [% ShowCourseReservesHeader = 1 %] [% END %] [% END %] [% END %] [% END %] [% END %] [% INCLUDE 'doc-head-open.inc' %] Details for: [% INCLUDE 'biblio-title-head.inc' %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("lib/emoji-picker/css/emoji.css") | $raw %] [% IF ( Koha.Preference('OPACShowMusicalInscripts') ) %] [% Asset.css("lib/verovio/midiplayer.css") | $raw %] [% END %] [% Asset.css("lib/Chocolat/css/chocolat.css") | $raw %] [% BLOCK cssinclude %][% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-detail' bodyclass='scrollto' %] [% INCLUDE 'masthead.inc' %]
[% IF ( OPACLocalCoverImages ) %] [% IF localimages.count %] [% FOREACH image IN localimages %]
Local cover image
Local cover image
[% END %] [% END %] [% END %] [% IF ( OPACAmazonCoverImages && normalized_isbn) %]
Amazon cover image
Image from Amazon.com
[% END %] [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %] [% IF ( content_identifier_exists ) %]
Syndetics cover image
Image from Syndetics
[% END %] [% END %] [% IF ( GoogleJackets ) %]
Image from Google Jackets
[% END %] [% IF ( Koha.Preference('OPACCoce') && Koha.Preference('CoceProviders') && normalized_isbn ) %] [% coce_id = normalized_ean || normalized_isbn %]
[% IF ( coce_id ) %] [% END %]
Image from Coce
[% END %] [% IF OpenLibraryCovers %]
Image from OpenLibrary
[% END %] [% bt_id = ( normalized_upc || normalized_isbn ) %] [% IF ( BakerTaylorEnabled && bt_id ) %]
[% IF BakerTaylorBookstoreURL %] See Baker & Taylor [% ELSE %] See Baker & Taylor [% END %]
Image from Baker & Taylor
[% END %] [% IF Koha.Preference('OPACCustomCoverImages') && Koha.Preference('CustomCoverImagesURL') %] [% SET custom_cover_image_url = biblio.custom_cover_image_url %] [% IF custom_cover_image_url %]
Custom cover image
Custom cover image
[% END %] [% END %]
[% IF ( ocoins ) # COinS / Openurl %] [% END %]
Normal view MARC view [% IF ( ISBD ) %] ISBD view [% END %]
[% XSLTBloc | $raw %] [% IF ( !item_level_itypes || Koha.Preference('BiblioItemtypeInfo') ) %] Item type: [% IF ( imageurl && !Koha.Preference('OpacNoItemTypeImages') ) %] [% END %] [% IF ( description ) %] [% description | html %] [% ELSE %] [% itemtype | html %] [% END %] [% END %] [% IF ( LibraryThingForLibrariesID ) %] [% UNLESS ( LibraryThingForLibrariesTabbedView ) %]
[% END %] Reviews from LibraryThing.com: [% END # / LibraryThingForLibrariesID %] [% IF shelves.count %] List(s) this item appears in: [% FOREACH s IN shelves %] [% s.shelfname | html %] [% IF ( loop.last ) %][% ELSE %]|[% END %] [% END %] [% END %] [% IF ( TagsShowEnabled ) %]
[% IF ( TagLoop ) %] Tags from this library:
    [% FOREACH TagLoo IN TagLoop %]
  • [% TagLoo.term | html %] ([% TagLoo.weight_total | html %]) [% IF ( loop.last ) %][% ELSE %], [% END %]
  • [% END %]
[% ELSE %] Tags from this library: No tags from this library for this title. [% END # / IF ( TagLoop )%] [% IF ( TagsInputEnabled ) %] [% IF ( loggedinusername ) %] Add tag(s) [% ELSE %] [% IF Koha.Preference('casAuthentication') %] [%# CAS authentication is too complicated for modal window %] Log in to add tags. [% ELSE %] Log in to add tags. [% END %] [% END # / IF ( loggedinusername ) %] [% END # / IF ( TagsInputEnabled ) %]
[% END # /IF TagsShowEnabled %] [% IF ( TagsInputEnabled ) %] [% IF ( loggedinusername ) %] [% END # / IF ( loggedinusername ) %] [% END # / IF TagsInputEnabled %] [% IF ( SyndeticsEnabled ) %] [% IF ( SyndeticsSeries && SyndeticsSERIES1Exists ) %] Series information: Click to open in new window [% END # / IF SyndeticsSeries && SyndeticsSERIES1Exists%] [% IF ( SyndeticsAVPROFILEExists ) %] Audiovisual profile: Click to open in new window [% END # / IF SyndeticsAVPROFILEExists %] [% IF ( SyndeticsFICTIONExists ) %] Fiction notes: Click to open in new window [% END # / IF SyndeticsFICTIONExists %] [% IF ( SyndeticsAwards && SyndeticsAWARDS1Exists ) %] Awards: Click to open in new window [% END # / IF SyndeticsAwards && SyndeticsAWARDS1Exists %] [% END # / IF SyndeticsEnabled%] [%# Following on one line due to translation issues %] [% INCLUDE "openlibrary-readapi.inc" bib = { normalized_isbn => normalized_isbn,lccn => lccn, normalized_oclc => normalized_oclc } %] [% IF ( OpacStarRatings != 'disable' ) %]
Star ratings
[% SET rating_avg = ratings.get_avg_rating() %] [% rating_avg_int = BLOCK %][% rating_avg | format("%.0f") %][% END %] [% IF ( borrowernumber ) %] [% END %] [% IF ( rating_avg_int == 0 ) %] [% END %] [% FOREACH i IN [ 1 2 3 4 5 ] %] [% IF rating_avg_int == i %] [% ELSE %] [% END %] [% END %] [% UNLESS ( rating_readonly ) %]  [% END %]  [% IF my_rating %] Your rating: [% my_rating.rating_value | html %]. Cancel rating. [% ELSE %] [% END %] Average rating: [% rating_avg | html %] ([% ratings.count | html %] votes)
[% END # / IF OpacStarRatings != 'disable' %] [% IF ( BakerTaylorContentURL ) %] Enhanced content: [% IF ( OPACURLOpenInNewWindow ) %]Content Cafe[% ELSE %]Content Cafe[% END %] [% END # / IF BakerTaylorContentURL %] [% IF ( NovelistSelectProfile && (normalized_isbn || normalized_upc) ) %] [% IF ( NovelistSelectView == 'above') %] [% END %] [% END # / IF NovelistSelectProfile %] [% IF ( Babeltheque ) %]
[% END # / IF Babeltheque%]
[% IF ( serialcollection ) %]
[% FOREACH serialcollection IN serialcollections %] [% END %]
Serial collections
Library Serial collection Item call number
[% serialcollection.branch | html %] [% serialcollection.text | html %] [% serialcollection.itemcallnumber | html %]
[% END # / IF serialcollection %]
[% IF too_many_items %]

This record has many physical items ([% items_count | html %]). View all the physical items.

[% ELSIF ( itemloop.size ) %] [% INCLUDE items_table items=itemloop tab="holdings" table_id="holdingst" %] [% IF specific_item %]

Show all items

[% ELSE %] [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %] [% IF acquisition_details.total_quantity == 1 %] 1 item is on order. [% ELSE %] [% acquisition_details.total_quantity | html %] items are on order. [% END %] [% END %] [% IF holds_count.defined || priority %]
[% IF holds_count.defined %] Total holds: [% holds_count | html %] [% END %] [% IF priority %] [% IF holds_count.defined %] (priority [% priority | html %]) [% ELSE %] Overall queue priority: [% priority | html %] [% END %] [% END %]
[% END %] [% END # /IF specific_item %] [% ELSE %] [% IF ( ALTERNATEHOLDINGS ) %] [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %]
Holdings: [% ALTERNATEHOLDING.holding | html %]
[% END %] [% ELSE %] [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %] [% IF acquisition_details.total_quantity == 1 %] 1 item is on order. [% ELSE %] [% acquisition_details.total_quantity | html %] items are on order. [% END %] [% ELSE %]
No physical items for this record
[% END %] [% END %] [% END # IF itemloop.size %] [% PROCESS 'shelfbrowser.inc' %] [% INCLUDE shelfbrowser tab='holdings' %]
[% IF (SeparateHoldings) %]
[% IF (otheritemloop.size) %] [% INCLUDE items_table items=otheritemloop tab="otherholdings" table_id="otherholdingst" %] [% ELSE %] No other items. [% END %] [% INCLUDE shelfbrowser tab='otherholdings' %]
[% END # / SeparateHoldings %] [% IF ( MARCNOTES || ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY )) %]
[% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %]

Enhanced descriptions from Syndetics:

[% SYNDETICS_SUMMARY | $raw %]

[% END %] [% IF ( MARCNOTES ) %]
[% FOREACH MARCNOTE IN MARCNOTES %]

[% IF MARCNOTE.marcnote.match('^https?://\S+$') %] [% MARCNOTE.marcnote | html %] [% ELSE %] [% MARCNOTE.marcnote | html | html_line_break %] [% END %]

[% END %]
[% END %]
[% END # / IF MARCNOTES %] [% IF ComponentParts && ComponentParts.size %]
[% FOR PART IN ComponentParts %] [% END %]
[% PART | $raw %]
[% IF ComponentParts.size == Koha.Preference('MaxComponentRecords')%]

Only [% ComponentParts.size | html %] results are shown: show all component parts

[% END %]
[% END %] [% IF ( SyndeticsEnabled ) %] [% IF ( SyndeticsTOC && SYNDETICS_TOC ) %]

Table of contents provided by Syndetics

    [% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %]
  • [% SYNDETICS_TO.l | html %] [% SYNDETICS_TO.t | html %][% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p | $raw %])[% END %]
  • [% END %]
[% END # / IF SyndeticsTOC && SYNDETICS_TOC %] [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]

Excerpt provided by Syndetics

[% SYNDETICS_EXCERPT | $raw %]
[% END # / IF SyndeticsExcerpt && SYNDETICS_EXCERPT %] [% IF ( SyndeticsReviews && SYNDETICS_REVIEWS ) %]

Reviews provided by Syndetics

[% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %] [% IF ( SYNDETICS_REVIEW.title ) %]

[% SYNDETICS_REVIEW.title | html %]

[% FOREACH review IN SYNDETICS_REVIEW.reviews %] [% IF ( review.content ) %] [% review.content | $raw %] [% END %] [% END %] [% END %] [% END %]
[% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %] [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]

Author notes provided by Syndetics

[% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %] [% IF ( SYNDETICS_ANOTE.content ) %] [% SYNDETICS_ANOTE.content | $raw %] [% END %] [% END %]
[% END # / IF SyndeticsReviews && SYNDETICS_REVIEWS %] [% END # / IF SyndeticsEnabled %] [% IF ( NovelistSelectProfile && NovelistSelectView == 'tab' && (normalized_isbn || normalized_upc) ) %]
[% END # / IF NovelistSelectProfile && NovelistSelectView == 'tab' %] [% IF ( subscriptionsnumber ) %]

This is a serial

There are [% subscriptionsnumber | html %] subscription(s) associated with this title.

[% FOREACH subscription IN subscriptions %]
[% IF ( subscription.branchcode ) %]

At library: [% Branches.GetName( subscription.branchcode ) | html %]

[% ELSE %] [% IF ( subscription.branchcode ) %]

At library: [% subscription.branchcode | html %]

[% END %] [% END %] [% IF ( subscription.closed ) %]

This subscription is closed.

[% END %] [% IF ( subscription.location ) %]

Location: [% AuthorisedValues.GetByCode( 'LOC', subscription.location, 1 ) | html %] [% END %] [% IF ( subscription.callnumber ) %]

Call number: [% subscription.callnumber | html %]

[% END %] [% IF ( subscription.subscriptionnotes ) %]

[% subscription.subscriptionnotes | html | html_line_break %]

[% END %]

Subscription from: [% subscription.histstartdate | $KohaDates %] to:[% IF ( subscription.histenddate ) %] [% subscription.histenddate | $KohaDates %] [% ELSE %] now (current)[% END %]

[% IF ( subscription.letter ) %] [% END %] [% IF ( subscription.missinglist ) %]

Missing issues: [% subscription.missinglist | html | html_line_break %]

[% END %] [% IF ( subscription.opacnote ) %]

[% subscription.opacnote | html | html_line_break %]

[% END %] [% IF ( subscription.latestserials ) %]

The [% subscription.opacdisplaycount | html %] latest issues for this subscription:

[% FOREACH latestserial IN subscription.latestserials %] [% END # / FOREACH latestserials %]
Latest serials
Issue # Publication date Received date Status Note
[% latestserial.serialseq | html %] [% latestserial.publisheddate | $KohaDates %] [% latestserial.planneddate | $KohaDates %] [% IF (latestserial.status1 ) %]Expected[% END %] [% IF (latestserial.status2 ) %]Arrived[% END %] [% IF (latestserial.status3 ) %]Late[% END %] [% IF (latestserial.status4 ) %]Missing[% END %] [% IF (latestserial.status41 ) %]Missing (never received)[% END %] [% IF (latestserial.status42 ) %]Missing (sold out)[% END %] [% IF (latestserial.status43 ) %]Missing (damaged)[% END %] [% IF (latestserial.status44 ) %]Missing (lost)[% END %] [% IF (latestserial.status5 ) %]Not issued[% END %] [% IF (latestserial.status6 ) %]Delete[% END %] [% IF (latestserial.status7 ) %]Claimed[% END %] [% IF (latestserial.status8 ) %]Stopped[% END %] [% latestserial.notes | html %]
[% END # / IF subscription.latestserials %]
[% END # / FOREACH subscriptions %]

More details

[% END # IF subscriptionsnumber %] [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %]
[% END # / IF LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView %] [% IF Koha.Preference( 'OPACComments' ) == 1 %]
[% IF ( reviews ) %] [% FOREACH review IN reviews %] [% IF borrowernumber && review.borrowernumber == borrowernumber %]
[% IF ( review.avatarurl ) %] [% END %] [% IF review.approved %]

Your comment

[% ELSE %]

Your comment (preview, pending approval)

[% END %] [% review.datereviewed | $KohaDates %]

[% FILTER html_break %] [% review.review | html %] [% END %] Edit

[% ELSE %]
[% IF ( ShowReviewer != "none" && review.patron) %] [% IF ( review.avatarurl ) %] [% END %] [% SWITCH ShowReviewer %] [% CASE 'full' %]

Comment by [% review.patron.title | html %] [% review.patron.firstname | html %] [% review.patron.surname | html %]

[% CASE 'first' %]

Comment by [% review.patron.firstname | html %]

[% CASE 'surname' %]

Comment by [% review.patron.surname | html %]

[% CASE 'firstandinitial' %]

Comment by [% review.patron.firstname | html %] [% review.patron.surname|truncate(2,'.') | html %]

[% CASE 'username' %]

Comment by [% review.patron.userid | html %]

[% END %] [% review.datereviewed | $KohaDates %] [% ELSE %]

Patron comment on [% review.datereviewed | $KohaDates %]

[% END # / IF ShowReviewer != "none" && review.patron %]

[% FILTER html_break %] [% review.review | html %] [% END %]

[% END %] [% END # / FOREACH reviews %] [% ELSE %]

There are no comments on this title.

[% END # / IF reviews %] [% IF ( loggedinusername ) %] [% UNLESS ( loggedincommenter ) %] [% END %] [% ELSE %]
to post a comment.
[% END # / IF loggedinusername %]
[% END # / IF OPACComments %] [% IF ( OPACFRBRizeEditions && XISBNS ) %]

Other editions of this work

[% FOREACH XISBN IN XISBNS %] [% UNLESS ( item_level_itypes ) %] [% END %] [% END # / FOREACH XISBNS %]
Other editions
[% IF ( OPACAmazonCoverImages ) %] [% END %] [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %] [% IF ( XISBN.content_identifier_exists ) %] [% ELSE %] No cover image available [% END # / IF XISBN.content_identifier_exists %] [% END # / IF SyndeticsEnabled && SyndeticsCoverImages %] [% XISBN.description | html %] [% XISBN.title | html %] [% IF ( XISBN.author ) %] by [% XISBN.author | html %][% END %] [% IF ( XISBN.copyrightdate ) %] ©[% XISBN.copyrightdate | html %][% END %] [% IF ( XISBN.publishercode ) %]

[% XISBN.publishercode | html %] [% IF ( XISBN.place ) %]([% XISBN.place | html %])[% END %] [% IF ( XISBN.publicationyear ) %][% ', ' _ XISBN.publicationyear | html %][% END %] [% IF ( XISBN.pages ) %][% XISBN.pages | html %] [% XISBN.illus | html %] [% XISBN.size | html %][% END %]

[% END %]
[% END # / IF OPACFRBRizeEditions && XISBNS %] [% IF ( HTML5MediaEnabled ) %]
[% FOREACH HTML5MediaSet IN HTML5MediaSets %]

[% IF HTML5MediaSet.is_youtube %] [% ELSE %] [% SET ctrl_preload = ' controls preload=none' #translatability %] <[% HTML5MediaParent _ ctrl_preload | html %] > <[% HTML5MediaSet.child | html %] src="[% HTML5MediaSet.srcblock | url %]" [% HTML5MediaSet.typeblock | html %] /> [[% HTML5MediaParent | html %] tag not supported by your browser.] [% END %]

[% END %]
[% END # / IF HTML5MediaEnabled %] [% IF ( OPACLocalCoverImages && localimages.count ) %]

Click on an image to view it in the image viewer

[% FOREACH image IN localimages %] Local cover image [% END %]
[% END # / IF OPACLocalCoverImages && localimages.size %]
[% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %]

Novelist Select

[% END %] [% IF ( Babeltheque ) %]
[% END # / IF Babeltheque %]
[% IF ( Koha.Preference('OpacBrowseResults') && busc ) %] [% END # / IF OpacBrowseResults && busc %] [% INCLUDE 'opac-detail-sidebar.inc' %] [% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %]

Novelist Select

[% END %] [% IF ( Babeltheque ) %]
[% END %] [% IF ( Koha.Preference('SocialNetworks') ) %]
Share [% SET SocialNetworks = Koha.Preference('SocialNetworks') %] [% FOREACH network IN SocialNetworks.split(",") %] [% SWITCH network -%] [% CASE "facebook" -%]
[% CASE "linkedin" -%]
[% CASE "email" -%]
[% CASE "twitter" -%]
[% END # /SWITCH network -%] [% END # /FOREACH network %]
[% END # /IF SocialNetworks %]
[% IF ( LibraryThingForLibrariesID ) %] [% END %] [% IF ( NovelistSelectProfile && ( normalized_isbn || normalized_upc ) ) %] [% END %] [% IF ( Babeltheque ) %] [% END %]
[% IF ( OPACPopupAuthorsSearch ) %] [% END %] [% INCLUDE 'opac-bottom.inc' %] [%# End of template %] [% BLOCK items_table %] [% IF Koha.Preference('OPACLocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] [% END %] [% IF ( item_level_itypes ) %] [% END %] [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] [% END %] [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] [% END %] [% IF ( itemdata_ccode ) %] [% END %] [% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %] [% END %] [% UNLESS TablesSettings.is_hidden( 'opac', 'biblio-detail', 'holdingst', 'item_materials') %] [% END %] [% IF ( itemdata_enumchron ) %] [% END %] [% IF ( itemdata_uri ) %] [% END %] [% IF ( itemdata_copynumber ) %] [% END %] [% IF ( itemdata_itemnotes ) %] [% END %] [% IF holds_count.defined %] [% ELSIF show_priority %] [% END %] [% IF ( ShowCourseReservesHeader ) %] [% END %] [% FOREACH ITEM_RESULT IN items %] [% IF Koha.Preference('OPACLocalCoverImages') && ( tab == 'holdings' && itemloop_has_images || tab == 'otherholdings' && otheritemloop_has_images ) %] [% END %] [% IF ( item_level_itypes ) %] [% END %] [% IF ( OpacLocationBranchToDisplay == 'holding' || OpacLocationBranchToDisplay == 'both' ) %] [% END %] [% IF ( OpacLocationBranchToDisplay == 'home' || OpacLocationBranchToDisplay == 'both' ) %] [% END %] [% IF ( itemdata_ccode ) %] [% END %] [% IF ( Koha.Preference('OpacLocationOnDetail') == 'column' && itemdata_location ) %] [% END %] [% UNLESS TablesSettings.is_hidden( 'opac', 'biblio-detail', 'holdingst', 'item_materials') %] [% END %] [% IF ( itemdata_enumchron ) %] [% END %] [% IF ( itemdata_uri ) %] [% END # /IF itemdata_uri %] [% IF ( itemdata_copynumber ) %][% END %] [% IF ( itemdata_itemnotes ) %][% END %] [% IF holds_count.defined || show_priority %] [% END %] [% IF ShowCourseReservesHeader %] [% END # /IF ShowCourseReservesHeader %] [% END %]
Holdings
Cover imageItem typeCurrent libraryHome libraryCollectionShelving locationCall numberMaterials specifiedVol infoURLCopy numberStatusNotesDate due BarcodeItem holdsItem hold queue priorityCourse reserves
[% FOR image IN ITEM_RESULT.cover_images %] [% END %]
[% UNLESS ( Koha.Preference('OpacNoItemTypeImages') ) %] [% IF ( ITEM_RESULT.imageurl ) %] [% ITEM_RESULT.description | html %] [% END %] [% END %] [% ITEM_RESULT.description | html %] [% IF ( ITEM_RESULT.branchurl ) %] [% ITEM_RESULT.branchname | html %] [% ELSE %] [% ITEM_RESULT.branchname | html %] [% END %]
[% ITEM_RESULT.holding_branch_opac_info | $raw %]
[% IF ( Koha.Preference('OpacLocationOnDetail') == 'holding' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %] [% ITEM_RESULT.location_description | html %] [% END %]
[% IF Branches.GetURL( ITEM_RESULT.homebranch ) %] [% home_branch_url = Branches.GetURL( ITEM_RESULT.homebranch ) %] [% IF ( home_branch_url ) %] [% Branches.GetName( ITEM_RESULT.homebranch ) | html %] [% ELSE %] [% Branches.GetName( ITEM_RESULT.homebranch ) | html %] [% END %] [% ELSE %] [% Branches.GetName( ITEM_RESULT.homebranch ) | html %] [% END %]
[% ITEM_RESULT.home_branch_opac_info | $raw %]
[% IF ( Koha.Preference('OpacLocationOnDetail') == 'home' || Koha.Preference('OpacLocationOnDetail') == 'both' ) %] [% ITEM_RESULT.location_description | html %] [% END %]
[% ITEM_RESULT.ccode | html %][% ITEM_RESULT.location_description | html %] [% IF ( ITEM_RESULT.itemcallnumber ) %] [% ITEM_RESULT.itemcallnumber | html %] [% IF ( OPACShelfBrowser ) %] [% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %] (Browse shelf(Opens below)) [% ELSE %] (Browse shelf(Opens below)) [% END %] [% END %] [% END %] [% ITEM_RESULT.materials | html %] [% IF ITEM_RESULT.enumchron && ITEM_RESULT.serialseq %] [% ITEM_RESULT.enumchron | html %] [% IF ( ITEM_RESULT.serialseq && ITEM_RESULT.enumchron!=ITEM_RESULT.serialseq ) %] -- [% ITEM_RESULT.serialseq | html %] [% END %] [% ELSIF ITEM_RESULT.enumchron %] [% ITEM_RESULT.enumchron | html %] [% ELSIF ITEM_RESULT.serialseq %] [% ITEM_RESULT.serialseq | html %] [% END %] [% IF ( ITEM_RESULT.publisheddate ) %] ([% ITEM_RESULT.publisheddate | $KohaDates %]) [% END %] [% IF ITEM_RESULT.uri %] [%# Initialize two helper vars %] [% SET target_attr = ''; SET rel_attr = '' %] [% IF Koha.Preference('OPACURLOpenInNewWindow') %][% SET target_attr = '_blank'; SET rel_attr = 'noreferrer' %][% END %] [%# Check if there are multiple URIs; in the single case we only use pref URLLinkText or Link to resource %] [% IF ITEM_RESULT.uri.split(' \| ').size > 1 %] [% FOREACH uri IN ITEM_RESULT.uri.split(' \| ') %] [% IF trackclicks == 'track' || trackclicks == 'anonymous' %] [% uri | html %] [% ELSE %] [% uri | html %] [% END %] [% END %] [% ELSE %] [% IF trackclicks == 'track' || trackclicks == 'anonymous' %] [% ELSE %] [% END %] [% IF Koha.Preference('URLLinkText') %][% Koha.Preference('URLLinkText') | html %][% ELSE %]Link to resource[% END %] [% END %] [% END %] [% ITEM_RESULT.copynumber | html %][% INCLUDE 'item-status-schema-org.inc' item = ITEM_RESULT %][% INCLUDE 'item-status.inc' item = ITEM_RESULT %][% ITEM_RESULT.itemnotes | $raw %][% ITEM_RESULT.datedue | $KohaDates as_due_date => 1 %] [% ITEM_RESULT.barcode | html %] [% IF holds_count.defined %] [% ITEM_RESULT.holds_count | html %] [% END %] [% IF ITEM_RESULT.priority %] [% IF holds_count.defined %] (priority [% ITEM_RESULT.priority | html %]) [% ELSE %] [% ITEM_RESULT.priority | html %] [% END %] [% END %] [% IF ITEM_RESULT.course_reserves %] [% FOREACH r IN ITEM_RESULT.course_reserves %] [% IF r.course.enabled == 'yes' %]

[% r.course.course_name | html %] [% IF r.course.section %] [% r.course.section | html %] [% END %] [% IF r.course.term %] [% AuthorisedValues.GetByCode( 'TERM', r.course.term, 1 ) | html %] [% END %]

[% END %] [% END %] [% END %]
[% END %][%# end of items_table block %] [% BLOCK jsinclude %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% INCLUDE greybox.inc %] [% IF ( OpacStarRatings != 'disable' ) %][% Asset.js("lib/jquery/plugins/jquery.barrating.min.js") | $raw %][% END %] [% IF ( OpacHighlightedWords ) %][% Asset.js("lib/jquery/plugins/jquery.highlight-3.js") | $raw %][% END %] [% IF ( Koha.Preference('OPACDetailQRCode') ) %] [% Asset.js("lib/kjua/kjua.min.js") | $raw %] [% END %] [% Asset.js("lib/Chocolat/js/chocolat.js") | $raw %] [% IF ( Koha.Preference('OPACShowMusicalInscripts') ) %] [% Asset.js("js/verovio.js") | $raw %] [% END %] [% Asset.js("lib/emoji-picker/js/emoji-picker-all.min.js") | $raw %] [% IF OpenLibraryCovers || OpenLibrarySearch %] [% Asset.js("js/openlibrary.js") | $raw %] [% END %] [% END %]