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 id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
15 <ol class="breadcrumb">
16 <li class="breadcrumb-item">
17 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
19 <li class="breadcrumb-item active">
20 <a href="#" aria-current="page">Recent comments</a>
23 </nav> <!-- /#breadcrumbs -->
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 <h1>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></h1>
39 <table class="table table-striped">
40 <caption class="sr-only">Comments</caption>
41 [% FOREACH review IN reviews %]
45 [% IF ( BiblioDefaultViewmarc ) %]
46 <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
48 [% IF ( BiblioDefaultViewisbd ) %]
49 <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
51 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
54 [% INCLUDE 'biblio-title.inc' biblio=review %]
56 [% IF ( review.author ) %]
57 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>
61 <span class="results_summary">
62 <span class="label">Publication:</span>
63 [% IF ( review.place ) %][% review.place | html %] [% END %]
64 [% IF ( review.publishercode ) %][% review.publishercode | html %][% END %]
65 [% IF ( review.publicationyear ) %]
66 [% review.publicationyear | html %]
68 [% IF ( review.copyrightdate ) %]
69 [% review.copyrightdate | html %]
72 [% IF ( review.pages ) %]. [% review.pages | html %][% END %]
73 [% IF ( review.notes ) %], [% review.notes | html %][% END %]
74 [% IF ( review.size ) %] [% review.size | html %][% END %]
76 [% IF ( review.summary ) %]
77 <span class="result_summary">
78 [% review.summary | html %]
81 [% IF ( review.copyrightdate ) %]
82 <span class="results_summary">
83 <span class="label">Date:</span>
84 [% review.copyrightdate | html %]</span>
88 <p class="commentline[% IF ( review.your_comment ) %] yours[% END %]">
89 [% IF ( review.avatarurl ) %]
90 <img class="avatar" src="[% review.avatarurl | html %]" height="40" width="40" alt="" />
92 [% FILTER html_break %]
93 [% review.review | html %]
95 <span class="commenter">
96 [% IF review.your_comment %]
97 Added [% review.datereviewed | $KohaDates %] by you
99 [% IF ( review.borrowernumber && ShowReviewer != "none" ) %]
100 Added [% review.datereviewed | $KohaDates %] by
101 [% SWITCH ShowReviewer %]
103 [% review.borrtitle | html %] [% review.firstname | html %] [% review.surname | html %]
105 [% review.firstname | html %]
107 [% review.surname | html %]
108 [% CASE 'firstandinitial' %]
109 [% review.firstname | html %] [% review.surname|truncate(2,'.') | html %]
110 [% CASE 'username' %]
111 [% review.userid | html %]
119 [% IF ( review.BiblioDefaultViewmarc ) %]
120 <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
122 [% IF ( review.BiblioDefaultViewisbd ) %]
123 <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
125 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
128 [% IF ( OPACAmazonCoverImages ) %]
129 [% IF ( review.normalized_isbn ) %]
130 <img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />
132 <span class="no-image">No cover image available</span>
135 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
136 <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" />
139 [% IF ( GoogleJackets ) %]
140 [% IF ( review.normalized_isbn ) %]
141 <div title="[% review.biblionumber |url %]" class="[% review.normalized_isbn | html %]" id="gbs-thumbnail[% loop.count | html %]"></div>
143 <span class="no-image">No cover image available</span>
147 [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
148 [% IF ( BakerTaylorEnabled ) %]
150 <a href="https://[% review.BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% review.BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
152 <span class="no-image">No cover image available</span>
156 [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %]
157 [% SET custom_cover_image_url = review.biblio_object.custom_cover_image_url %]
158 [% IF custom_cover_image_url %]
159 <a class="custom_cover_image" href="[% custom_cover_image_url | url %]"><img alt="Cover image" src="[% custom_cover_image_url | url %]" /></a>
165 [% END # / FOREACH review %]
168 [% IF ( PAGE_NUMBERS ) %]
170 <!-- Row of numbers corresponding to showreviews result pages -->
171 [% IF ( previous_page_offset ) %]
172 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% previous_page_offset | html %]&count=[% results_per_page | html %]"><< Previous</a>
174 [% IF ( previous_page_first ) %]
175 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=0&count=[% results_per_page | html %]"><< Previous</a>
178 [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
179 [% IF ( PAGE_NUMBER.highlight ) %]
180 <span class="currentPage">[% PAGE_NUMBER.pg | html %]</span>
182 <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>
185 [% IF ( next_page_offset ) %]
186 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% next_page_offset | html %]&count=[% results_per_page | html %]">Next >></a>
189 [% END # / IF PAGE_NUMBERS %]
190 </div> <!-- / #showreviews -->
191 </div> <!-- / .col-lg-10/12 -->
192 </div> <!-- / .row -->
193 </div> <!-- / .container-fluid -->
194 </div> <!-- / .main -->
196 [% INCLUDE 'opac-bottom.inc' %]
197 [% BLOCK jsinclude %]
198 [% IF ( GoogleJackets ) %]
200 $(document).ready(function(){
201 KOHA.Google.GetCoverFromIsbn();