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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt (-1 / +7 lines)
Lines 92-98 Link Here
92
                                [% issuetype | html %]
92
                                [% issuetype | html %]
93
                            </td>
93
                            </td>
94
                            <td data-order="[% checkout.timestamp | html %]"> [% checkout.timestamp | $KohaDates with_hours => 1 %] </td>
94
                            <td data-order="[% checkout.timestamp | html %]"> [% checkout.timestamp | $KohaDates with_hours => 1 %] </td>
95
                            <td> [% INCLUDE 'biblio-title.inc' biblio=biblio link = 1 %] </td>
95
                            <td>
96
                                [% IF item %]
97
                                    [% INCLUDE 'biblio-title.inc' biblio=biblio link = 1 %]
98
                                [% ELSE %]
99
                                    <span>The item has been deleted</span>
100
                                [% END %]
101
                            </td>
96
102
97
                            <td>[% biblio.author | html %]</td>
103
                            <td>[% biblio.author | html %]</td>
98
104
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (-5 / +8 lines)
Lines 185-194 Link Here
185
                        [% END %]
185
                        [% END %]
186
                    </td>
186
                    </td>
187
                    <td>
187
                    <td>
188
                        [% INCLUDE 'biblio-title.inc' biblio=biblio, link => 1 %]
188
                        [% IF item %]
189
                        [% IF ( Koha.Preference( 'OpacStarRatings' ) == 'all' ) %]
189
                            [% INCLUDE 'biblio-title.inc' biblio=biblio, link => 1 %]
190
                            [% SET ratings = {ratings => biblio.ratings, itemnumber => item.itemnumber, biblionumber => biblio.biblionumber, my_rating => biblio.ratings.search( borrowernumber => logged_in_user.borrowernumber ).next } %]
190
                            [% IF ( Koha.Preference( 'OpacStarRatings' ) == 'all' ) %]
191
                            [% INCLUDE 'user-star-ratings.inc' item=ratings %]
191
                                [% SET ratings = {ratings => biblio.ratings, itemnumber => item.itemnumber, biblionumber => biblio.biblionumber, my_rating => biblio.ratings.search( borrowernumber => logged_in_user.borrowernumber ).next } %]
192
                                [% INCLUDE 'user-star-ratings.inc' item=ratings %]
193
                            [% END %]
194
                        [% ELSE %]
195
                            <span>The item has been deleted</span>
192
                        [% END %]
196
                        [% END %]
193
                    </td>
197
                    </td>
194
                    <td>[% biblio.author | html %]</td>
198
                    <td>[% biblio.author | html %]</td>
195
- 

Return to bug 40704