From: Guillaume Pellerin Date: Tue, 20 May 2014 16:05:39 +0000 (+0200) Subject: add preview block X-Git-Tag: 2.8.1-pro~288^2~8 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=2d4f10b49b9e7c4d2ae9f8618d00432159b4e70e;p=teleforma.git add preview block --- diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 239804ea..6eb35f36 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -228,12 +228,12 @@ $(window).ready(function(){ {% endblock index %} {% if user.is_staff %} -{% block video %} +{% block preview %} {% if seminar.media_preview %}

preview {% trans "Preview" %}

{% include "teleforma/inc/seminar_media_preview_video.html" %}
{% endif %} -{% endblock %} +{% endblock preview %} {% endif %} diff --git a/teleforma/templates/teleforma/seminars.html b/teleforma/templates/teleforma/seminars.html index b1e204c0..a4b595c7 100644 --- a/teleforma/templates/teleforma/seminars.html +++ b/teleforma/templates/teleforma/seminars.html @@ -159,6 +159,9 @@ server_status_callback(); {% block index %} {% endblock index %} +{% block preview %} +{% endblock preview %} + {% block module-action-right %} {% endblock module-action-right %}