From: Guillaume Pellerin Date: Tue, 26 Jan 2021 21:21:07 +0000 (+0100) Subject: bugfix X-Git-Tag: 1.4.3~31^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=refs%2Fheads%2Ffeature%2Fmp4;p=teleforma.git bugfix --- diff --git a/teleforma/templates/teleforma/inc/media_list.html b/teleforma/templates/teleforma/inc/media_list.html index 139c8d2f..9f8a2e8c 100644 --- a/teleforma/templates/teleforma/inc/media_list.html +++ b/teleforma/templates/teleforma/inc/media_list.html @@ -11,7 +11,7 @@ {% for media in course.media.all|from_course_type:type|from_period:period %} {% if media.is_published or user.is_staff and not list_view %} - {% if media.type == 'webm' or if media.type == 'mp4' %} + {% if media.type == 'webm' or media.type == 'mp4' %}