]> git.parisson.com Git - teleforma.git/commitdiff
add mp4 condition
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 26 Jan 2021 21:14:27 +0000 (22:14 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 26 Jan 2021 21:14:27 +0000 (22:14 +0100)
teleforma/templates/teleforma/inc/media_list_pending.html

index b450210538fbb7299c42eb1a72e226527e5df568..a30940978b076cda4d5ca9d5c74a69622b3cf03e 100644 (file)
@@ -11,7 +11,7 @@
     <tbody>
         {% for media in course.media.all|from_course_type:type|from_period:period %}
          {% if not media.is_published and user.is_staff %}
-          {% if media.type == 'webm' %}
+          {% if media.type == 'webm' or media.type == 'mp4' %}
             <tr>
             <td {% if forloop.first %}class="border-top"{% endif %} width="230px" style="vertical-align:middle">
             <a href="{% url teleforma-media-detail period.id media.id %}" title="{% trans "Play" %}">