]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 29 Jan 2021 12:36:17 +0000 (13:36 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 29 Jan 2021 12:36:17 +0000 (13:36 +0100)
teleforma/templates/teleforma/inc/media_list.html

index e3db47c68ee545f0bc9883b8a8a320cd221fe575..921ec51f3a60e23073a4e43aeb4cd7415c2e83ac 100644 (file)
@@ -11,7 +11,7 @@
     <tbody>
         {% for media in course.media.all|from_course_type:type|from_period:period %}
          {% if media.is_published or user.is_staff and not list_view %}
-          {% if media.type == 'webm' or if media.type == 'mp4' %}
+          {% 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" %}">