4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Recent comments › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% BLOCK cssinclude %][% END %]
8 <link rel="alternate" type="application/rss+xml" title="[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog recent comments" href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-showreviews.pl?format=rss" />
10 [% INCLUDE 'bodytag.inc' bodyid='opac-showreviews' bodyclass='scrollto' %]
11 [% INCLUDE 'masthead.inc' %]
14 <nav aria-label="breadcrumb">
15 <ul class="breadcrumb">
16 <li class="breadcrumb-item">
17 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
19 <li class="breadcrumb-item active" aria-current="page">
20 <a href="#">Recent comments</a>
25 <div class="container-fluid">
27 [% IF ( OpacNav || OpacNavBottom ) %]
28 <div class="col-lg-2">
30 [% INCLUDE 'navigation.inc' %]
33 <div class="col-10 order-first order-md-first order-lg-2">
35 <div class="col order-first order-md-first order-lg-2">
37 <div id="showreviews" class="searchresults maincontent">
38 <h3>Recent comments <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink" aria-label="Subscribe to recent comments"><i class="fa fa-rss rsssearchicon" aria-hidden="true" title="Subscribe to recent comments"></i></a></h3>
39 <table class="table table-striped">
40 [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
41 [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
42 [% FOREACH review IN reviews %]
46 [% IF ( BiblioDefaultViewmarc ) %]
47 <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
49 [% IF ( BiblioDefaultViewisbd ) %]
50 <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
52 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
55 [% INCLUDE 'biblio-title.inc' biblio=review %]
57 [% IF ( review.author ) %]
58 by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% review.author |url %]" title="Search for works by this author" class="author">[% review.author | html %]</a>
62 <span class="results_summary">
63 <span class="label">Publication:</span>
64 [% IF ( review.place ) %][% review.place | html %] [% END %]
65 [% IF ( review.publishercode ) %][% review.publishercode | html %][% END %]
66 [% IF ( review.publicationyear ) %]
67 [% review.publicationyear | html %]
69 [% IF ( review.copyrightdate ) %]
70 [% review.copyrightdate | html %]
73 [% IF ( review.pages ) %]. [% review.pages | html %][% END %]
74 [% IF ( review.notes ) %], [% review.notes | html %][% END %]
75 [% IF ( review.size ) %] [% review.size | html %][% END %]
77 [% IF ( review.summary ) %]
78 <span class="result_summary">
79 [% review.summary | html %]
82 [% IF ( review.copyrightdate ) %]
83 <span class="results_summary">
84 <span class="label">Date:</span>
85 [% review.copyrightdate | html %]</span>
89 <p class="commentline[% IF ( review.your_comment ) %] yours[% END %]">
90 [% IF ( review.avatarurl ) %]
91 <img class="avatar" src="[% review.avatarurl | html %]" height="40" width="40" alt="" />
93 [% FILTER html_break %]
94 [% review.review | html %]
96 <span class="commenter">
97 [% IF review.your_comment %]
98 Added [% review.datereviewed | $KohaDates %] by you
100 [% IF ( review.borrowernumber && ShowReviewer != "none" ) %]
101 Added [% review.datereviewed | $KohaDates %] by
102 [% SWITCH ShowReviewer %]
104 [% review.borrtitle | html %] [% review.firstname | html %] [% review.surname | html %]
106 [% review.firstname | html %]
108 [% review.surname | html %]
109 [% CASE 'firstandinitial' %]
110 [% review.firstname | html %] [% review.surname|truncate(2,'.') | html %]
111 [% CASE 'username' %]
112 [% review.userid | html %]
120 [% IF ( review.BiblioDefaultViewmarc ) %]
121 <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
123 [% IF ( review.BiblioDefaultViewisbd ) %]
124 <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
126 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
129 [% IF ( AdlibrisEnabled && review.normalized_isbn ) %]
130 <img src="[% AdlibrisURL | html %]?isbn=[% review.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" />
132 [% IF ( OPACAmazonCoverImages ) %]
133 [% IF ( review.normalized_isbn ) %]
134 <img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />
136 <span class="no-image">No cover image available</span>
139 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
140 <img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&client=[% SyndeticsClientCode | html %]&type=xw10&upc=[% review.normalized_upc | html %]&oclc=[% review.normalized_oclc | html %]" alt="" class="thumbnail" />
143 [% IF ( GoogleJackets ) %]
144 [% IF ( review.normalized_isbn ) %]
145 <div title="[% review.biblionumber |url %]" class="[% review.normalized_isbn | html %]" id="gbs-thumbnail[% loop.count | html %]"></div>
147 <span class="no-image">No cover image available</span>
151 [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
152 [% IF ( BakerTaylorEnabled ) %]
154 <a href="https://[% review.BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% review.BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
156 <span class="no-image">No cover image available</span>
160 [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %]
161 [% SET custom_cover_image_url = review.biblio_object.custom_cover_image_url %]
162 [% IF custom_cover_image_url %]
163 <a class="custom_cover_image" href="[% custom_cover_image_url | url %]"><img alt="Cover image" src="[% custom_cover_image_url | url %]" /></a>
169 [% END # / FOREACH review %]
172 [% IF ( PAGE_NUMBERS ) %]
174 <!-- Row of numbers corresponding to showreviews result pages -->
175 [% IF ( previous_page_offset ) %]
176 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% previous_page_offset | html %]&count=[% results_per_page | html %]"><< Previous</a>
178 [% IF ( previous_page_first ) %]
179 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=0&count=[% results_per_page | html %]"><< Previous</a>
182 [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
183 [% IF ( PAGE_NUMBER.highlight ) %]
184 <span class="currentPage">[% PAGE_NUMBER.pg | html %]</span>
186 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% PAGE_NUMBER.offset | html %]&count=[% results_per_page | html %]">[% PAGE_NUMBER.pg | html %]</a>
189 [% IF ( next_page_offset ) %]
190 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% next_page_offset | html %]&count=[% results_per_page | html %]">Next >></a>
193 [% END # / IF PAGE_NUMBERS %]
194 </div> <!-- / #showreviews -->
195 </div> <!-- / .col-lg-10/12 -->
196 </div> <!-- / .row -->
197 </div> <!-- / .container-fluid -->
198 </div> <!-- / .main -->
200 [% INCLUDE 'opac-bottom.inc' %]
201 [% BLOCK jsinclude %]
202 [% IF ( GoogleJackets ) %]
204 $(document).ready(function(){
205 KOHA.Google.GetCoverFromIsbn();