Fix database check bug.

Some styling adjustments.
Use the proper image fallbacks.
This commit is contained in:
Tim 2015-07-10 14:04:30 +02:00
commit dcab175c18
4 changed files with 5 additions and 16 deletions

View file

@ -35,11 +35,7 @@ DOCUMENTATION :: END
<div class="poster">
<div class="poster-face">
<a href="info?rating_key=${item['rating_key']}">
% if item['thumb'] != '':
<img src="pms_image_proxy?img=${item['thumb']}&width=153&height=225" class="poster-face">
% else:
<img src="interfaces/default/images/poster.png" class="poster-face">
% endif
<img src="pms_image_proxy?img=${item['thumb']}&width=153&height=225&fallback=poster" class="poster-face">
</a>
</div>
</div>