From 03cb9f074c17a798d812131214d8874239ce87aa Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 29 Jan 2021 13:36:17 +0100 Subject: [PATCH] bugfix --- teleforma/templates/teleforma/inc/media_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' %} -- 2.39.5