From: Guillaume Pellerin Date: Fri, 29 Jan 2021 12:36:17 +0000 (+0100) Subject: bugfix X-Git-Tag: 2.8.1-ae~89 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=03cb9f074c17a798d812131214d8874239ce87aa;p=teleforma.git bugfix --- diff --git a/teleforma/templates/teleforma/inc/media_list.html b/teleforma/templates/teleforma/inc/media_list.html index e3db47c6..921ec51f 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' %}