From 361776eac6980d83d7a75c043b51a650071cd957 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 26 Jan 2021 22:21:07 +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 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' %} -- 2.39.5