From 91b13e9bd9c2f10078081bff36deda24a2825d7c Mon Sep 17 00:00:00 2001 From: yomguy Date: Tue, 5 Jun 2012 02:10:01 +0200 Subject: [PATCH] fix --- teleforma/templates/teleforma/course_detail.html | 1 - teleforma/templates/teleforma/courses.html | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/teleforma/templates/teleforma/course_detail.html b/teleforma/templates/teleforma/course_detail.html index 048be236..fc44478a 100644 --- a/teleforma/templates/teleforma/course_detail.html +++ b/teleforma/templates/teleforma/course_detail.html @@ -45,7 +45,6 @@ $(document).ready(function(){ {% endwith %} {% endblock %} - {% else %}

{% trans "No document" %}

diff --git a/teleforma/templates/teleforma/courses.html b/teleforma/templates/teleforma/courses.html index 8cb6d7d1..dd4f942f 100644 --- a/teleforma/templates/teleforma/courses.html +++ b/teleforma/templates/teleforma/courses.html @@ -65,13 +65,12 @@ $(document).ready(function(){ {% endwith %} {% endblock %} + {% block conference %} {% with course as course %} {% include "teleforma/inc/conference_list.html" %} {% endwith %} {% endblock %} - {% else %} - {% block media %} {% with course as course %} @@ -79,6 +78,7 @@ $(document).ready(function(){ {% endwith %} {% endblock %} + {% else %}

{% trans "No document" %}

-- 2.39.5