From: yomguy Date: Tue, 5 Jun 2012 00:10:01 +0000 (+0200) Subject: fix X-Git-Tag: 0.4^2~4 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=91b13e9bd9c2f10078081bff36deda24a2825d7c;p=teleforma.git fix --- 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" %}