4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Recent comments</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 | html %]/cgi-bin/koha/opac-showreviews.pl?format=rss" />
10 [% INCLUDE 'bodytag.inc' bodyid='opac-showreviews' bodyclass='scrollto' %]
11 [% INCLUDE 'masthead.inc' %]
14 <ul class="breadcrumb">
15 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
16 <li><a href="#">Recent comments</a></li>
19 <div class="container-fluid">
20 <div class="row-fluid">
21 [% IF ( OpacNav || OpacNavBottom ) %]
24 [% INCLUDE 'navigation.inc' %]
31 <div id="showreviews" class="searchresults maincontent">
32 <h3>Recent comments <a href="[% OPACBaseURL | uri %]/cgi-bin/koha/opac-showreviews.pl?format=rss" class="rsssearchlink"><img src="[% interface | html %]/[% theme | html %]/images/feed-icon-16x16.png" alt="Subscribe to recent comments" title="Subscribe to recent comments" border="0" class="rsssearchicon"/></a></h3>
33 <table class="table table-striped">
34 [% FOREACH review IN reviews %]
38 [% IF ( BiblioDefaultViewmarc ) %]
39 <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
41 [% IF ( BiblioDefaultViewisbd ) %]
42 <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
44 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
47 [% IF ( review.title ) %][% review.title | html %][% ELSE %]No title[% END %]
48 [% FOREACH subtitl IN review.subtitle %] [% subtitl.subfield | html %][% END %]
50 [% IF ( review.author ) %]
51 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>
55 <span class="results_summary">
56 <span class="label">Publication:</span>
57 [% IF ( review.place ) %][% review.place | html %] [% END %]
58 [% IF ( review.publishercode ) %][% review.publishercode | html %][% END %]
59 [% IF ( review.publicationyear ) %]
60 [% review.publicationyear | html %]
62 [% IF ( review.copyrightdate ) %]
63 [% review.copyrightdate | html %]
66 [% IF ( review.pages ) %]. [% review.pages | html %][% END %]
67 [% IF ( review.notes ) %], [% review.notes | html %][% END %]
68 [% IF ( review.size ) %] [% review.size | html %][% END %]
70 [% IF ( review.summary ) %]
71 <span class="result_summary">
72 [% review.summary | html %]
75 [% IF ( review.copyrightdate ) %]
76 <span class="results_summary">
77 <span class="label">Date:</span>
78 [% review.copyrightdate | html %]</span>
82 <p class="commentline[% IF ( review.your_comment ) %] yours[% END %]">
83 [% IF ( review.avatarurl ) %]
84 <img class="avatar" src="[% review.avatarurl | html %]" height="40" width="40" alt="" />
86 [% FILTER html_break %]
87 [% review.review | html %]
89 <span style="font-size:87%;font-color:#CCC;">
90 [% IF review.your_comment %]
91 Added [% review.datereviewed | $KohaDates %] by you
93 [% IF ( review.borrowernumber && ShowReviewer != "none" ) %]
94 Added [% review.datereviewed | $KohaDates %] by
95 [% SWITCH ShowReviewer %]
97 [% review.borrtitle | html %] [% review.firstname | html %] [% review.surname | html %]
99 [% review.firstname | html %]
101 [% review.surname | html %]
102 [% CASE 'firstandinitial' %]
103 [% review.firstname | html %] [% review.surname|truncate(2,'.') | html %]
104 [% CASE 'username' %]
105 [% review.userid | html %]
107 [% END %][% END %]</span></p>
110 [% IF ( review.BiblioDefaultViewmarc ) %]
111 <a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
113 [% IF ( review.BiblioDefaultViewisbd ) %]
114 <a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
116 <a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
120 [% IF ( OPACAmazonCoverImages ) %]
121 [% IF ( review.normalized_isbn ) %]
122 <img src="https://images-na.ssl-images-amazon.com/images/P/[% review.normalized_isbn | html %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />
124 <span class="no-image">No cover image available</span>
128 [% IF ( SyndeticsEnabled && SyndeticsCoverImages ) %]
129 <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" />
132 [% IF ( GoogleJackets ) %]
133 [% IF ( review.normalized_isbn ) %]
134 <div title="[% review.biblionumber |url %]" class="[% review.normalized_isbn | html %]" id="gbs-thumbnail[% loop.count | html %]"></div>
136 <span class="no-image">No cover image available</span>
140 [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
141 [% IF ( BakerTaylorEnabled ) %]
143 <a href="https://[% review.BakerTaylorBookstoreURL | uri %][% bt_id | uri %]"><img alt="See Baker & Taylor" src="[% review.BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
145 <span class="no-image">No cover image available</span>
150 [% END # / FOREACH review %]
153 [% IF ( PAGE_NUMBERS ) %]
155 <!-- Row of numbers corresponding to showreviews result pages -->
156 [% IF ( previous_page_offset ) %]
157 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% previous_page_offset | html %]&count=[% results_per_page | html %]"><< Previous</a>
159 [% IF ( previous_page_first ) %]
160 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=0&count=[% results_per_page | html %]"><< Previous</a>
163 [% FOREACH PAGE_NUMBER IN PAGE_NUMBERS %]
164 [% IF ( PAGE_NUMBER.highlight ) %]
165 <span class="currentPage">[% PAGE_NUMBER.pg | html %]</span>
167 <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>
170 [% IF ( next_page_offset ) %]
171 <a class="nav" href="/cgi-bin/koha/opac-showreviews.pl?offset=[% next_page_offset | html %]&count=[% results_per_page | html %]">Next >></a>
174 [% END # / IF PAGE_NUMBERS %]
175 </div> <!-- / #showreviews -->
176 </div> <!-- / .span10/12 -->
177 </div> <!-- / .row-fluid -->
178 </div> <!-- / .container-fluid -->
179 </div> <!-- / .main -->
181 [% INCLUDE 'opac-bottom.inc' %]
182 [% BLOCK jsinclude %]
185 $(document).ready(function(){
186 [% IF ( GoogleJackets ) %]KOHA.Google.GetCoverFromIsbn();[% END %]