From: Guillaume Pellerin Date: Fri, 25 Jun 2021 09:53:25 +0000 (+0200) Subject: fix audio download, fix title X-Git-Tag: 2.1~38 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=bb12f8a092dc3ebce053138b24e5d3eef2147b83;p=teleforma.git fix audio download, fix title --- 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é" %}