]> git.parisson.com Git - teleforma.git/commitdiff
fix audio download, fix title
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 25 Jun 2021 09:53:25 +0000 (11:53 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 25 Jun 2021 09:53:25 +0000 (11:53 +0200)
teleforma/templates/teleforma/course_media_transcoded.html
teleforma/templates/teleforma/inc/media_list.html

index f3175c47c356461ef5e47ca19f7d223b28531957..74472cd45a38fd35152ab6ae4c4dc61be49b8790 100644 (file)
@@ -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' %}
   <div class="module_action">
    <a href="{% url 'teleforma-media-transcoded-download' period.id media.id %}" class="component_icon button" id="action_red"><img src="/static/teleforma/images/download_media.png" alt="" style="vertical-align:middle" />&nbsp;{% trans "Download" %}</a>
   </div>
index 5ffc00a865b5e5bd91c46ab53c6e28ebfe32b389..fe490b7351b132295a3aedc9377c44c59f462ff1 100644 (file)
@@ -5,7 +5,7 @@
 {% if course.media.all|from_course_type:type|from_period:period %}
 <div class="course_content content_video">
 <div class="course_subtitle">
-    <h3><img src="/static/teleforma/images/item_title.png" width="10px" alt="" /> {% trans title %}</h3>
+    <h3><img src="/static/teleforma/images/item_title.png" width="10px" alt="" /> {% trans "Conférences en différé" %}</h3>
 </div>
     <table class="listing" width="100%">
     <tbody>