From: yomguy Date: Tue, 5 Jun 2012 21:56:28 +0000 (+0200) Subject: fix profile courses, cleanup tables X-Git-Tag: 0.5^2~21^2~8 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e6d36e2c4e8766521057e0aad25687129ee34580;p=teleforma.git fix profile courses, cleanup tables --- diff --git a/teleforma/templates/teleforma/inc/conference_list.html b/teleforma/templates/teleforma/inc/conference_list.html index 1cd0609b..b2327b95 100644 --- a/teleforma/templates/teleforma/inc/conference_list.html +++ b/teleforma/templates/teleforma/inc/conference_list.html @@ -9,25 +9,23 @@ - - - + + {% for conference in course.conference.all|from_type:type %} - - + diff --git a/teleforma/templates/teleforma/inc/document_list.html b/teleforma/templates/teleforma/inc/document_list.html index 77226989..14867b50 100644 --- a/teleforma/templates/teleforma/inc/document_list.html +++ b/teleforma/templates/teleforma/inc/document_list.html @@ -10,7 +10,6 @@ - @@ -19,15 +18,14 @@ {% for document in course.document.all|from_type:type %} - - + - + {% endfor %} diff --git a/teleforma/templates/teleforma/inc/media_list.html b/teleforma/templates/teleforma/inc/media_list.html index 76e0b82a..0566a14a 100644 --- a/teleforma/templates/teleforma/inc/media_list.html +++ b/teleforma/templates/teleforma/inc/media_list.html @@ -9,17 +9,19 @@
{% trans "Type" %}{% trans "Room" %}{% trans "Session" %}{% trans "Session" %} {% trans "Professor" %} {% trans "Begin date" %}{% trans "Room" %} {% trans "Streaming" %}
{{ conference.course_type }}{{ conference.room }} {{ conference.session }} {{ conference.professor }} {{ conference.date_begin }}{{ conference.room }} {% if conference.streaming %} - yes + yes {% endif %}
{% trans "Title" %}{% trans "Description" %} {% trans "Annal" %} {% trans "Date modified" %} {% trans "Download" %}
{{ document.title }}{{ document.description }}{% if document.file %}{% endif %}{{ document.title }}{% if document.file %}{% endif %} {% if document.is_annal %} yes  {% endif %} {{ document.date_added }}{% if document.file %}{% endif %}
- - - + + + + {% for media in course.media.all|from_type:type %} - - - + + + + {% endfor %} diff --git a/teleforma/templates/telemeta/profile_detail.html b/teleforma/templates/telemeta/profile_detail.html index e26b1249..97340ab9 100644 --- a/teleforma/templates/telemeta/profile_detail.html +++ b/teleforma/templates/telemeta/profile_detail.html @@ -18,9 +18,11 @@
{% trans "Title" %}{% trans "Description" %}{% trans "Date modified" %}{% trans "Session" %}{% trans "Professor" %}{% trans "Begin date" %}{% trans "Duration" %}
{{ media.item.title }}{{ media.item.description }}{{ media.date_modified }}{{ media.conference.session }}{{ media.conference.professor }}{{ media.conference.date_begin }}{{ media.item.approx_duration }}