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 <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 [% SET AdlibrisEnabled = Koha.Preference('AdlibrisCoversEnabled') %]
42 [% SET AdlibrisURL = Koha.Preference('AdlibrisCoversURL') %]
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 ( AdlibrisEnabled && review.normalized_isbn ) %]
131 <img src="[% AdlibrisURL | html %]?isbn=[% review.normalized_isbn | html %]" class="adlibris-cover" alt="Adlibris cover image" />
133 [% IF ( OPACAmazonCoverImages ) %]
134 [% IF ( review.normalized_isbn ) %]
135 <img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />
137 <span class="no-image">No cover image available</span>
140 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
141 <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" />
144 [% IF ( GoogleJackets ) %]
145 [% IF ( review.normalized_isbn ) %]
146 <div title="[% review.biblionumber |url %]" class="[% review.normalized_isbn | html %]" id="gbs-thumbnail[% loop.count | html %]"></div>
148 <span class="no-image">No cover image available</span>
152 [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
153 [% IF ( BakerTaylorEnabled ) %]
155 <a href="https://[% review.BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% review.BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
157 <span class="no-image">No cover image available</span>
161 [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %]
162 [% SET custom_cover_image_url = review.biblio_object.custom_cover_image_url %]
163 [% IF custom_cover_image_url %]
164 <a class="custom_cover_image" href="[% custom_cover_image_url | url %]"><img alt="Cover image" src="[% custom_cover_image_url | url %]" /></a>
170 [% END # / FOREACH review %]
173 [% IF ( PAGE_NUMBERS ) %]
175 <!-- Row of numbers corresponding to showreviews result pages -->
176 [% IF ( previous_page_offset ) %]
177 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% previous_page_offset | html %]&count=[% results_per_page | html %]"><< Previous</a>
179 [% IF ( previous_page_first ) %]
180 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=0&count=[% results_per_page | html %]"><< Previous</a>
183 [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
184 [% IF ( PAGE_NUMBER.highlight ) %]
185 <span class="currentPage">[% PAGE_NUMBER.pg | html %]</span>
187 <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>
190 [% IF ( next_page_offset ) %]
191 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% next_page_offset | html %]&count=[% results_per_page | html %]">Next >></a>
194 [% END # / IF PAGE_NUMBERS %]
195 </div> <!-- / #showreviews -->
196 </div> <!-- / .col-lg-10/12 -->
197 </div> <!-- / .row -->
198 </div> <!-- / .container-fluid -->
199 </div> <!-- / .main -->
201 [% INCLUDE 'opac-bottom.inc' %]
202 [% BLOCK jsinclude %]
203 [% IF ( GoogleJackets ) %]
205 $(document).ready(function(){
206 KOHA.Google.GetCoverFromIsbn();