]> git.parisson.com Git - teleforma.git/commitdiff
reorder course contents
authoryomguy <yomguy@parisson.com>
Wed, 6 Jun 2012 09:10:42 +0000 (11:10 +0200)
committeryomguy <yomguy@parisson.com>
Wed, 6 Jun 2012 09:10:42 +0000 (11:10 +0200)
teleforma/templates/teleforma/course_detail.html
teleforma/templates/teleforma/courses.html

index af9c80a5b6d7c3a000b43cd3153b7fcf2ff8be86..f8eaa7e2d34c5d812cefc7b7ce068a35f954ab65 100644 (file)
@@ -29,10 +29,6 @@ $(document).ready(function(){
         <div class="course_title">{{ course.title }} - {{ type }}{% if course.description %} - {{ course.description }}{% endif %}
         </div>
 
-        {% block document %}
-         {% include "teleforma/inc/document_list.html" %}
-        {% endblock %}
-
         {% block conference %}
          {% include "teleforma/inc/conference_list.html" %}
         {% endblock %}
@@ -41,6 +37,10 @@ $(document).ready(function(){
          {% include "teleforma/inc/media_list.html" %}
         {% endblock %}
 
+        {% block document %}
+         {% include "teleforma/inc/document_list.html" %}
+        {% endblock %}
+
         </div>
       {% endfor %}
      {% endfor %}
index 043a446e53f7f58e9eb89f22e66f87780939ba9c..483cd4863c7a002ecc42d132dcbcda82bd0f4785 100644 (file)
@@ -61,10 +61,6 @@ $(document).ready(function(){
         <div class="course_title">{{ course.title }} - {{ type }}{% if course.description %} - {{ course.description }}{% endif %}
         </div>
 
-        {% block document %}
-         {% include "teleforma/inc/document_list.html" %}
-        {% endblock %}
-
         {% block conference %}
          {% include "teleforma/inc/conference_list.html" %}
         {% endblock %}
@@ -73,6 +69,10 @@ $(document).ready(function(){
          {% include "teleforma/inc/media_list.html" %}
         {% endblock %}
 
+        {% block document %}
+         {% include "teleforma/inc/document_list.html" %}
+        {% endblock %}
+
       </div>
     {% endfor %}
     {% endfor %}