]> git.parisson.com Git - teleforma.git/commitdiff
remove preview from desk (manual url exists)
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 26 May 2014 08:48:33 +0000 (10:48 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 26 May 2014 08:48:33 +0000 (10:48 +0200)
teleforma/templates/teleforma/seminar_detail.html
teleforma/templates/teleforma/seminars.html

index 6eb35f36143ce5edddbc3e8c05cc71ffe6bf63a3..bddca01fcb18fe5ef3b5fbe17ea06b69b144ce40 100644 (file)
@@ -226,14 +226,3 @@ $(window).ready(function(){
 </div>
 {% endif %}
 {% endblock index %}
-
-{% if user.is_staff %}
-{% block preview %}
-  {% if seminar.media_preview %}
-  <h3><img src="{{STATIC_URL}}telemeta/images/module_playlist.png" alt="preview" style="vertical-align:middle" /> {% trans "Preview" %}</h3>
-    <div class="module">
-    {% include "teleforma/inc/seminar_media_preview_video.html" %}
-    </div>
-  {% endif %}
-{% endblock preview %}
-{% endif %}
index a4b595c7fddf763b1675789fdc6655653c2e3942..b1e204c0e886547e5bdbc89599c2524f50ae3ecf 100644 (file)
@@ -159,9 +159,6 @@ server_status_callback();
 {% block index %}
 {% endblock index %}
 
-{% block preview %}
-{% endblock preview %}
-
 {% block module-action-right %}
 {% endblock module-action-right %}