View | Details | Raw Unified | Return to bug 22445
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt (+5 lines)
Lines 150-155 Link Here
150
                                                <span class="no-image">No cover image available</span>
150
                                                <span class="no-image">No cover image available</span>
151
                                            [% END %]
151
                                            [% END %]
152
                                        [% END %]
152
                                        [% END %]
153
154
                                        [% IF Koha.Preference('OPACCustomCoverImages') AND Koha.Preference('CustomCoverImagesURL') %]
155
                                            <a href="[% review.biblio_object.custom_cover_image_url | url %]"><img alt="Cover image" src="[% review.biblio_object.custom_cover_image_url | url %]" /></a>
156
                                        [% END %]
157
153
                                    </td>
158
                                    </td>
154
                                </tr>
159
                                </tr>
155
                            [% END # / FOREACH review %]
160
                            [% END # / FOREACH review %]
(-)a/opac/opac-showreviews.pl (-1 / +2 lines)
Lines 109-114 for my $result (@$reviews){ Link Here
109
    $result->{notes} = $biblioitem->notes;
109
    $result->{notes} = $biblioitem->notes;
110
    $result->{timestamp} = $biblioitem->timestamp;
110
    $result->{timestamp} = $biblioitem->timestamp;
111
111
112
    $result->{biblio_object} = $biblio; # TODO Use this variable directly in the template
113
112
    my $patron = Koha::Patrons->find( $result->{borrowernumber} );
114
    my $patron = Koha::Patrons->find( $result->{borrowernumber} );
113
    if ( $patron ) {
115
    if ( $patron ) {
114
        $result->{borrtitle} = $patron->title;
116
        $result->{borrtitle} = $patron->title;
115
- 

Return to bug 22445