[% END; END %]
[% MACRO minithumb(photo) BLOCK %]
<a href="[%base%]/photo/view/[%photo.id%]">
- <img src="[% photo.thumb_url |uri%]" alt="[%photo.title|html%]"/>
+ <img src="[% photo.thumb_url %]" alt="[%photo.title|html%]"/>
</a>
[% END; MACRO thumb(photo, album) BLOCK %]
<table class="thumb">
[% SET r = photo.approx_rating %]
<br/>
[% IF r > 0 OR photo.hit_count > 0 %]
- [% photo.hit_count %] views
- [% IF r > 0 %] <br> [% ministar(r, photo) %] in [%photo.rated %] ratings [% END %]
+ [% photo.hit_count %] view[%IF photo.hit_count>1%]s[% END %]
+ [% IF r > 0 %] <br> [% ministar(r, photo) %] in [%photo.rated %]
+ rating[%IF photo.rated > 1%]s[%END%] [% END %]
[% END %]
</td></tr>
[% IF request.user %]