From bb12f8a092dc3ebce053138b24e5d3eef2147b83 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Fri, 25 Jun 2021 11:53:25 +0200 Subject: [PATCH] fix audio download, fix title --- teleforma/templates/teleforma/course_media_transcoded.html | 2 +- teleforma/templates/teleforma/inc/media_list.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/teleforma/templates/teleforma/course_media_transcoded.html b/teleforma/templates/teleforma/course_media_transcoded.html index f3175c47..74472cd4 100644 --- a/teleforma/templates/teleforma/course_media_transcoded.html +++ b/teleforma/templates/teleforma/course_media_transcoded.html @@ -20,7 +20,7 @@ $(document).ready(function(){ {% block module-action %} {% if media_transcoded.file and media.is_published or user.is_superuser or user.is_staff %} - {% if not "video" in media.mime_type or request.user_agent.os.family == 'iOS' %} + {% if not "video" in media_transcoded.mime_type or request.user_agent.os.family == 'iOS' %}
 {% trans "Download" %}
diff --git a/teleforma/templates/teleforma/inc/media_list.html b/teleforma/templates/teleforma/inc/media_list.html index 5ffc00a8..fe490b73 100644 --- a/teleforma/templates/teleforma/inc/media_list.html +++ b/teleforma/templates/teleforma/inc/media_list.html @@ -5,7 +5,7 @@ {% if course.media.all|from_course_type:type|from_period:period %}
-

{% trans title %}

+

{% trans "Conférences en différé" %}

-- 2.39.5