]> git.parisson.com Git - teleforma.git/commitdiff
fix
authoryomguy <yomguy@parisson.com>
Wed, 18 Jul 2012 15:10:25 +0000 (17:10 +0200)
committeryomguy <yomguy@parisson.com>
Wed, 18 Jul 2012 15:10:25 +0000 (17:10 +0200)
teleforma/templates/teleforma/inc/media_list.html

index 5276fd006b91137592fa16068875d18af940a678..49b122154963710a3eb46e870d9b7b273eb564a8 100644 (file)
@@ -15,7 +15,7 @@
             <td {% if forloop.first %}class="border-top"{% endif %} width="35%">
                 <a href="{% url teleforma-media-detail media.id %}" title="{% trans "View" %}">
                  {% if media.item.related.all %}
-                 {% for related in media.item.related %}
+                 {% for related in media.item.related.all %}
                   {% if related.title == "preview" %}
                   <img src="{% url telemeta-item-related media.item.code related.id %}" style="max-width: 230px; max-height: 200px;" alt="snapshot" />
                   {% endif %}