From: yomguy Date: Fri, 20 Jul 2012 18:19:20 +0000 (+0200) Subject: fix no mime type X-Git-Tag: 0.7.1~4^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=0b04a837d080b546cbe06bbe9ae0c7462f45a0d8;p=teleforma.git fix no mime type --- diff --git a/teleforma/templates/teleforma/course_media.html b/teleforma/templates/teleforma/course_media.html index 77d1b05a..28aa6d62 100644 --- a/teleforma/templates/teleforma/course_media.html +++ b/teleforma/templates/teleforma/course_media.html @@ -32,7 +32,7 @@ $(document).ready(function(){
- {% if "video" in media.item.mime_type %} + {% if "video" in media.item.mime_type or not media.item.mime_type %}  {% trans "Audio" %} {% endif %} {% if "audio" in media.item.mime_type %} @@ -51,7 +51,7 @@ $(document).ready(function(){ {% else %}
-{% if "video" in media.item.mime_type %} +{% if "video" in media.item.mime_type or not media.item.mime_type %}