From de8d3e77f03d39799c6e76c4c75b7032fec95f5b Mon Sep 17 00:00:00 2001 From: yomguy Date: Tue, 5 Jun 2012 02:09:03 +0200 Subject: [PATCH] reorder --- teleforma/templates/teleforma/course_detail.html | 9 +++++---- teleforma/templates/teleforma/courses.html | 12 +++++++----- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/teleforma/templates/teleforma/course_detail.html b/teleforma/templates/teleforma/course_detail.html index 659db372..048be236 100644 --- a/teleforma/templates/teleforma/course_detail.html +++ b/teleforma/templates/teleforma/course_detail.html @@ -33,18 +33,19 @@ $(document).ready(function(){ {% endwith %} {% endblock %} -{% block media %} +{% block conference %} {% with course as course and %} -{% include "teleforma/inc/media_list.html" %} +{% include "teleforma/inc/conference_list.html" %} {% endwith %} {% endblock %} -{% block conference %} +{% block media %} {% with course as course and %} -{% include "teleforma/inc/conference_list.html" %} +{% include "teleforma/inc/media_list.html" %} {% endwith %} {% endblock %} + {% else %}

{% trans "No document" %}

diff --git a/teleforma/templates/teleforma/courses.html b/teleforma/templates/teleforma/courses.html index 71066592..8cb6d7d1 100644 --- a/teleforma/templates/teleforma/courses.html +++ b/teleforma/templates/teleforma/courses.html @@ -65,18 +65,20 @@ $(document).ready(function(){ {% endwith %} {% endblock %} - {% block media %} + {% block conference %} {% with course as course %} - {% include "teleforma/inc/media_list.html" %} + {% include "teleforma/inc/conference_list.html" %} {% endwith %} {% endblock %} + {% else %} - {% block conference %} + + {% block media %} {% with course as course %} - {% include "teleforma/inc/conference_list.html" %} + {% include "teleforma/inc/media_list.html" %} {% endwith %} {% endblock %} - {% else %} +

{% trans "No document" %}

-- 2.39.5