3 [% USE AdditionalContents %]
4 [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
5 [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>Recent comments › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
8 [% INCLUDE 'doc-head-close.inc' %]
9 [% BLOCK cssinclude %][% END %]
10 <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" />
12 [% INCLUDE 'bodytag.inc' bodyid='opac-showreviews' bodyclass='scrollto' %]
13 [% INCLUDE 'masthead.inc' %]
16 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
17 <ol class="breadcrumb">
18 <li class="breadcrumb-item">
19 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
21 <li class="breadcrumb-item active">
22 <a href="#" aria-current="page">Recent comments</a>
25 </nav> <!-- /#breadcrumbs -->
27 <div class="container-fluid">
29 [% IF ( OpacNav || OpacNavBottom ) %]
30 <div class="col-lg-2">
32 [% INCLUDE 'navigation.inc' %]
35 <div class="col-10 order-first order-md-first order-lg-2">
37 <div class="col order-first order-md-first order-lg-2">
39 <div id="showreviews" class="searchresults maincontent">
40 <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>
41 <table class="table table-striped">
42 <caption class="sr-only">Comments</caption>
43 [% FOREACH review IN reviews %]
47 [% IF ( BiblioDefaultViewmarc ) %]
48 <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
50 [% IF ( BiblioDefaultViewisbd ) %]
51 <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
53 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
56 [% INCLUDE 'biblio-title.inc' biblio=review %]
58 [% IF ( review.author ) %]
59 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>
63 <span class="results_summary">
64 <span class="label">Publication:</span>
65 [% IF ( review.place ) %][% review.place | html %] [% END %]
66 [% IF ( review.publishercode ) %][% review.publishercode | html %][% END %]
67 [% IF ( review.publicationyear ) %]
68 [% review.publicationyear | html %]
70 [% IF ( review.copyrightdate ) %]
71 [% review.copyrightdate | html %]
74 [% IF ( review.pages ) %]. [% review.pages | html %][% END %]
75 [% IF ( review.notes ) %], [% review.notes | html %][% END %]
76 [% IF ( review.size ) %] [% review.size | html %][% END %]
78 [% IF ( review.summary ) %]
79 <span class="result_summary">
80 [% review.summary | html %]
83 [% IF ( review.copyrightdate ) %]
84 <span class="results_summary">
85 <span class="label">Date:</span>
86 [% review.copyrightdate | html %]</span>
90 <p class="commentline[% IF ( review.your_comment ) %] yours[% END %]">
91 [% IF ( review.avatarurl ) %]
92 <img class="avatar" src="[% review.avatarurl | html %]" height="40" width="40" alt="" />
94 [% FILTER html_break %]
95 [% review.review | html %]
97 <span class="commenter">
98 [% IF review.your_comment %]
99 Added [% review.datereviewed | $KohaDates %] by you
101 [% IF ( review.borrowernumber && ShowReviewer != "none" ) %]
102 Added [% review.datereviewed | $KohaDates %] by
103 [% SWITCH ShowReviewer %]
105 [% review.borrtitle | html %] [% review.firstname | html %] [% review.surname | html %]
107 [% review.firstname | html %]
109 [% review.surname | html %]
110 [% CASE 'firstandinitial' %]
111 [% review.firstname | html %] [% review.surname|truncate(2,'.') | html %]
112 [% CASE 'username' %]
113 [% review.userid | html %]
121 [% IF ( review.BiblioDefaultViewmarc ) %]
122 <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
124 [% IF ( review.BiblioDefaultViewisbd ) %]
125 <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
127 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
130 [% IF ( OPACAmazonCoverImages ) %]
131 [% IF ( review.normalized_isbn ) %]
132 <img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />
134 <span class="no-image">No cover image available</span>
137 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
138 <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" />
141 [% IF ( GoogleJackets ) %]
142 [% IF ( review.normalized_isbn ) %]
143 <div title="[% review.biblionumber |url %]" class="[% review.normalized_isbn | html %]" id="gbs-thumbnail[% loop.count | html %]"></div>
145 <span class="no-image">No cover image available</span>
149 [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
150 [% IF ( BakerTaylorEnabled ) %]
152 <a href="https://[% review.BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% review.BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
154 <span class="no-image">No cover image available</span>
158 [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %]
159 [% SET custom_cover_image_url = review.biblio_object.custom_cover_image_url %]
160 [% IF custom_cover_image_url %]
161 <a class="custom_cover_image" href="[% custom_cover_image_url | url %]"><img alt="Cover image" src="[% custom_cover_image_url | url %]" /></a>
167 [% END # / FOREACH review %]
170 [% IF ( PAGE_NUMBERS ) %]
172 <!-- Row of numbers corresponding to showreviews result pages -->
173 [% IF ( previous_page_offset ) %]
174 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% previous_page_offset | html %]&count=[% results_per_page | html %]"><< Previous</a>
176 [% IF ( previous_page_first ) %]
177 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=0&count=[% results_per_page | html %]"><< Previous</a>
180 [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
181 [% IF ( PAGE_NUMBER.highlight ) %]
182 <span class="currentPage">[% PAGE_NUMBER.pg | html %]</span>
184 <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>
187 [% IF ( next_page_offset ) %]
188 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% next_page_offset | html %]&count=[% results_per_page | html %]">Next >></a>
191 [% END # / IF PAGE_NUMBERS %]
192 </div> <!-- / #showreviews -->
193 </div> <!-- / .col-lg-10/12 -->
194 </div> <!-- / .row -->
195 </div> <!-- / .container-fluid -->
196 </div> <!-- / .main -->
198 [% INCLUDE 'opac-bottom.inc' %]
199 [% BLOCK jsinclude %]
200 [% IF ( GoogleJackets ) %]
202 $(document).ready(function(){
203 KOHA.Google.GetCoverFromIsbn();