From: yomguy Date: Wed, 6 Jun 2012 09:10:42 +0000 (+0200) Subject: reorder course contents X-Git-Tag: 0.5^2~21^2~2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=20985fe0cb7d4c9635165e35c6a88e6c537196c3;p=teleforma.git reorder course contents --- diff --git a/teleforma/templates/teleforma/course_detail.html b/teleforma/templates/teleforma/course_detail.html index af9c80a5..f8eaa7e2 100644 --- a/teleforma/templates/teleforma/course_detail.html +++ b/teleforma/templates/teleforma/course_detail.html @@ -29,10 +29,6 @@ $(document).ready(function(){
{{ course.title }} - {{ type }}{% if course.description %} - {{ course.description }}{% endif %}
- {% 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 %} + {% endfor %} {% endfor %} diff --git a/teleforma/templates/teleforma/courses.html b/teleforma/templates/teleforma/courses.html index 043a446e..483cd486 100644 --- a/teleforma/templates/teleforma/courses.html +++ b/teleforma/templates/teleforma/courses.html @@ -61,10 +61,6 @@ $(document).ready(function(){
{{ course.title }} - {{ type }}{% if course.description %} - {{ course.description }}{% endif %}
- {% 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 %} + {% endfor %} {% endfor %}