Lines 133-139
Link Here
|
133 |
</thead> |
133 |
</thead> |
134 |
<tbody> |
134 |
<tbody> |
135 |
[% FOREACH checkout IN checkouts %] |
135 |
[% FOREACH checkout IN checkouts %] |
136 |
[% SET item = checkout.item %] |
136 |
[% SET item = checkout.item || checkout.deleted_item %] |
137 |
[% SET biblio = item.biblio %] |
137 |
[% SET biblio = item.biblio %] |
138 |
<tr> |
138 |
<tr> |
139 |
<td style="display:none;"> |
139 |
<td style="display:none;"> |
Lines 185-198
Link Here
|
185 |
[% END %] |
185 |
[% END %] |
186 |
</td> |
186 |
</td> |
187 |
<td> |
187 |
<td> |
188 |
[% IF item %] |
188 |
[% INCLUDE 'biblio-title.inc' biblio=biblio, link => 1 %] |
189 |
[% INCLUDE 'biblio-title.inc' biblio=biblio, link => 1 %] |
189 |
[% UNLESS item.deleted_on %] |
190 |
[% IF ( Koha.Preference( 'OpacStarRatings' ) == 'all' ) %] |
190 |
[% IF ( Koha.Preference( 'OpacStarRatings' ) == 'all' ) %] |
191 |
[% SET ratings = {ratings => biblio.ratings, itemnumber => item.itemnumber, biblionumber => biblio.biblionumber, my_rating => biblio.ratings.search( borrowernumber => logged_in_user.borrowernumber ).next } %] |
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 %] |
192 |
[% INCLUDE 'user-star-ratings.inc' item=ratings %] |
193 |
[% END %] |
193 |
[% END %] |
194 |
[% ELSE %] |
|
|
195 |
<span>The item has been deleted</span> |
196 |
[% END %] |
194 |
[% END %] |
197 |
</td> |
195 |
</td> |
198 |
<td>[% biblio.author | html %]</td> |
196 |
<td>[% biblio.author | html %]</td> |
199 |
- |
|
|