From: yomguy Date: Wed, 18 Jul 2012 15:14:02 +0000 (+0200) Subject: fix width X-Git-Tag: 0.7-dev^2~93 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=667861a87ea312dc1d23333a0bec279097f6cab4;p=teleforma.git fix width --- diff --git a/teleforma/templates/teleforma/inc/media_list.html b/teleforma/templates/teleforma/inc/media_list.html index da9ad5a9..1c435857 100644 --- a/teleforma/templates/teleforma/inc/media_list.html +++ b/teleforma/templates/teleforma/inc/media_list.html @@ -12,14 +12,16 @@ {% for media in course.media.all|from_course_type:type %} {% if media.published or user.is_staff %} - + {% if media.item.related.all %} {% for related in media.item.related.all %} {% if related.title == "preview" %} - snapshot + snapshot {% endif %} {% endfor %} + {% elif %} + snapshot {% endif %}