]> git.parisson.com Git - teleforma.git/commitdiff
reorder
authoryomguy <yomguy@parisson.com>
Tue, 5 Jun 2012 00:09:03 +0000 (02:09 +0200)
committeryomguy <yomguy@parisson.com>
Tue, 5 Jun 2012 00:09:03 +0000 (02:09 +0200)
teleforma/templates/teleforma/course_detail.html
teleforma/templates/teleforma/courses.html

index 659db372904e3d8026a298382d1512aa7caf0606..048be23609e042ca3de5ade659457a7934198647 100644 (file)
@@ -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 %}
 <div class="course_content">
 <p>{% trans "No document" %}</p>
index 71066592cc7c3b2879849d992e95ae358a3cb013..8cb6d7d11acb23ae2ae93888d0390b35d0d3dac9 100644 (file)
@@ -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 %}
+
         <div class="course_content">
          <p>{% trans "No document" %}</p>
         </div>