From: yomguy Date: Tue, 5 Jun 2012 00:12:53 +0000 (+0200) Subject: fix order X-Git-Tag: 0.4^2~3 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8fb5dee2ad58b1263680052af064864614102bb8;p=teleforma.git fix order --- diff --git a/teleforma/templates/teleforma/inc/conference_list.html b/teleforma/templates/teleforma/inc/conference_list.html index 96036710..5103a2f2 100644 --- a/teleforma/templates/teleforma/inc/conference_list.html +++ b/teleforma/templates/teleforma/inc/conference_list.html @@ -8,27 +8,27 @@ + - {% for conference in course.conference.all %} + - {% endfor %} diff --git a/teleforma/templates/teleforma/inc/document_list.html b/teleforma/templates/teleforma/inc/document_list.html index f0781494..54df5bb1 100644 --- a/teleforma/templates/teleforma/inc/document_list.html +++ b/teleforma/templates/teleforma/inc/document_list.html @@ -8,16 +8,17 @@
{% trans "Streaming" %} {% trans "Type" %} {% trans "Room" %} {% trans "Session" %} {% trans "Professor" %} {% trans "Begin date" %}{% trans "Streaming" %}
+ {% if conference.streaming %} + yes + {% endif %} + {{ conference.course.type }} {{ conference.room }} {{ conference.session }} {{ conference.professor }} {{ conference.date_begin }} - {% if conference.streaming %} - yes - {% endif %} -
+ - {% for document in course.document.all %} + - {% endfor %}
{% trans "Download" %} {% trans "Title" %} {% trans "Description" %} {% trans "Annal" %} {% trans "Date modified" %}{% trans "Download" %}
{{ document.title }} {{ document.description }} @@ -26,7 +27,6 @@ {% endif %} {{ document.date_added }}