From: Guillaume Pellerin Date: Thu, 7 Apr 2016 11:40:01 +0000 (+0200) Subject: fix video status X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=243c44e1eb2dffb9a37621455f7b103bd63ff354;p=mezzo.git fix video status --- diff --git a/app/festival/templates/festival/video_list.html b/app/festival/templates/festival/video_list.html index ee3a3493..cc9250d8 100644 --- a/app/festival/templates/festival/video_list.html +++ b/app/festival/templates/festival/video_list.html @@ -9,7 +9,9 @@ {% block main %}
{% for video in object_list %} - {% include 'festival/inc/video_card.html' %} + {% if video.status == 2 %} + {% include 'festival/inc/video_card.html' %} + {% endif %} {% endfor %}
{% endblock %}