From: yomguy Date: Wed, 18 Jul 2012 14:36:52 +0000 (+0200) Subject: fix X-Git-Tag: 0.7-dev^2~103 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e0a984ae8d134fca20aab8f96b33f917a0a8eaaa;p=teleforma.git fix --- diff --git a/teleforma/templates/teleforma/inc/media_list.html b/teleforma/templates/teleforma/inc/media_list.html index 5ac9c55d..d994f1db 100644 --- a/teleforma/templates/teleforma/inc/media_list.html +++ b/teleforma/templates/teleforma/inc/media_list.html @@ -14,13 +14,11 @@ - {% if media.item.related %} - {% thumbnail media.item.related.all.0.file "x230" as im %} + + {% thumbnail media.item.related.file "x230" as im %} snapshot {% endthumbnail %} - {% elif %} - snapshot - {% endif %} +