From: yomguy Date: Thu, 29 Nov 2012 08:34:37 +0000 (+0100) Subject: update seminar template X-Git-Tag: 0.9-probarreau~275 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=071aade4d79e5452f34514adee2b712dfe5cdd4b;p=teleforma.git update seminar template --- diff --git a/teleforma/static/teleforma/css/teleforma.css b/teleforma/static/teleforma/css/teleforma.css index c8673754..453e66a2 100644 --- a/teleforma/static/teleforma/css/teleforma.css +++ b/teleforma/static/teleforma/css/teleforma.css @@ -1481,11 +1481,13 @@ input,textarea{ } .course_description { - color: #000; - border-top: 1px solid #aaa; - margin-top: 0.5em; - padding: 0.5em 0em 0.5em 0em; - font-size: 0.9em; + background-color: #FFF; + -moz-border-radius: 8px 0px 8px 8px; + -webkit-border-radius: 8px 0px 8px 8px; + border-radius: 8px 0px 8px 8px; + padding: 0.5em 0.5em 1em 1em; + margin-top: 0.8em; + border: 1px solid #dfdfdf; } .course_content { diff --git a/teleforma/templates/teleforma/inc/document_simple_list.html b/teleforma/templates/teleforma/inc/document_simple_list.html index be66863d..7d4b2f3a 100644 --- a/teleforma/templates/teleforma/inc/document_simple_list.html +++ b/teleforma/templates/teleforma/inc/document_simple_list.html @@ -4,7 +4,7 @@
-

{% trans "Documents"%}

+

{% trans "Read the following documents" %}

diff --git a/teleforma/templates/teleforma/inc/media_package_list.html b/teleforma/templates/teleforma/inc/media_package_list.html index e0770566..db73de0a 100644 --- a/teleforma/templates/teleforma/inc/media_package_list.html +++ b/teleforma/templates/teleforma/inc/media_package_list.html @@ -5,7 +5,7 @@ {% if course.media.all|from_course_type:type %}
-

{% trans "Passed conferences"%}

+

{% trans "Read the following documents" %}

diff --git a/teleforma/templates/teleforma/inc/question_list.html b/teleforma/templates/teleforma/inc/question_list.html index 1c2e91f7..b2ba371a 100644 --- a/teleforma/templates/teleforma/inc/question_list.html +++ b/teleforma/templates/teleforma/inc/question_list.html @@ -4,7 +4,7 @@
-

{% trans "Questions"%}

+

{% trans "Respond to the following questions" %}

diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index d0266009..6f3a2674 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -15,9 +15,7 @@ {% if seminar.description %}{{ seminar.description }}{% endif %}
-
- {% trans "Read the following documents" %} -
+ {% with seminar.docs_1 as docs %} {% include "teleforma/inc/document_simple_list.html" %} {% endwith %} @@ -30,24 +28,16 @@ {% include "teleforma/inc/media_package_list.html" %} {% endwith %} --> -
- {% trans "Read the following documents" %} -
+ {% with seminar.docs_2 as docs %} {% include "teleforma/inc/document_simple_list.html" %} {% endwith %} -
- {% trans "Respond to the following questions" %} -
{% with seminar.question as questions %} {% include "teleforma/inc/question_list.html" %} {% endwith %} {% if validated %} -
- {% trans "Read the following documents" %} -
{% with seminar.docs_correct as docs %} {% include "teleforma/inc/document_simple_list.html" %} {% endwith %}