From 2d4f10b49b9e7c4d2ae9f8618d00432159b4e70e Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 20 May 2014 18:05:39 +0200 Subject: [PATCH] add preview block --- teleforma/templates/teleforma/seminar_detail.html | 4 ++-- teleforma/templates/teleforma/seminars.html | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) 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 %} -- 2.39.5