From: Yoan Le Clanche Date: Mon, 15 Jun 2020 07:34:42 +0000 (+0200) Subject: Merge branch 'webclasse-pb' into prodev X-Git-Tag: 2.8.1-pro~187 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c63a0547b007baac8e1a030d3b20db6a0cf32743;p=teleforma.git Merge branch 'webclasse-pb' into prodev --- c63a0547b007baac8e1a030d3b20db6a0cf32743 diff --cc teleforma/templates/teleforma/seminar_detail.html index 0887a062,b30114d1..0a0f0297 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@@ -6,90 -6,80 +6,80 @@@ {% block infra_javascript %} @@@ -101,126 -91,139 +91,156 @@@ {% block course %}
--
-- --
-- --
-- {% if seminar_progress == 100 and not user.is_staff %} -- {% trans -- {% endif %} -- -- {% if user.is_staff %} -- {% if seminar.status == 2 %}{% trans " published" %}{% else %}{% trans " rejected" %}{% endif %} -- {% endif %} --
-- --
-- {{ seminar.title }} --
-- --
-- -- {% block course_content %} -- --
--
--

{% trans "Informations" %}

--
--
-- {% include "teleforma/inc/seminar_description.html" %} --
-- {% if messages %} --
-- {% for message in messages %} -- {{ message }}
-- {% endfor %} --
-- {% endif %} --
-- -- {% with seminar.docs_1 as docs %} --
--
--

{% trans "Step" %} 1 : {% if docs.all.count > 1 %}{% trans "read these documents" %}{% else %}{% trans "read this document" %}{% endif %}

--
-- {% include "teleforma/inc/document_simple_list.html" %} --
-- {% endwith %} -- - {% with seminar.medias as medias %} -
-
-

{% trans "Step" %} 2 : {% if medias.all.count > 1 %}{% trans "view these conferences" %}{% else %}{% trans "view this conference" %}{% endif %}

- {% if seminar.conference.webclass %} - {% with seminar.conference as webclass %} -
-
-

{% trans "Step" %} 2 : {% trans "view this conference" %}

-
- {% include "teleforma/inc/webclass.html" %} --
- {% include "teleforma/inc/media_package_list.html" %} -
- {% endwith %} - - {% if seminar.quiz %} -
-
-

{% trans "Step" %} 2bis : {% trans "Quiz" %}

-
- {% include "teleforma/inc/quiz_list.html" %} - {% endwith %} - {% else %} - {% with seminar.medias as medias %} -
-
-

{% trans "Step" %} 2 : {% if medias.all.count > 1 %}{% trans "view these conferences" %}{% else %}{% trans "view this conference" %}{% endif %}

-
- {% include "teleforma/inc/media_package_list.html" %} -
- {% endwith %} - {% endif %} ++
+ ++
+ ++
++ {% if seminar_progress == 100 and not user.is_staff %} ++ {% trans ++ {% endif %} + - {% if seminar.quiz %} -
-
-

{% trans "Step" %} 2bis : {% trans "Quiz" %}

-
- {% include "teleforma/inc/quiz_list.html" %} ++ {% if user.is_staff %} ++ {% if seminar.status == 2 %}{% trans " published" %}{% else %}{% trans " rejected" %}{% endif %} ++ {% endif %} +
- {% endif %} + - {% with seminar.docs_2 as docs %} -
-
-

{% trans "Step" %} 3 : {% if docs.all.count > 1 %}{% trans "read these documents" %}{% else %}{% trans "read this document" %}{% endif %}

-
- {% include "teleforma/inc/document_simple_list.html" %} -
- {% endwith %} - - {% if seminar.conference.webclass or not seminar.conference in user.auditor.get.conferences.all %} - - {% with seminar.question as questions %} -
-
-

{% trans "Step" %} 4 : {% if questions.all.count > 1 %}{% trans "answer to these questions" %}{% else %}{% trans "answer to this question" %}{% endif %}

-
- {% include "teleforma/inc/question_list.html" %} -
- {% endwith %} - - {% with seminar.docs_correct as docs %} -
-
-

{% trans "Step" %} 5 : {% if docs.all.count > 1 %}{% trans "read these corrected documents" %}{% else %}{% trans "read this corrected document" %}{% endif %}

-
- {% include "teleforma/inc/document_simple_list.html" %} -
- {% endwith %} - - {% if seminar_progress == 100 %} - - {% with seminar.form as form %} -
-
-

{% trans "Step" %} 6 : {% trans "evaluate the seminar" %}

-
- {% include "teleforma/inc/evaluation_form.html" %} -
- {% endwith %} - {% endif %} - - {% if seminar_validated and seminar_progress == 100 and delta_sec >= 0 %} -
-
-

{% trans "Step" %} 7 : {% trans "download your testimonial" %}

-
- {% include "teleforma/inc/testimonial_list.html" %} -
- {% endif %} - - {% endif %} ++ - {% endif %} - {% with seminar.docs_2 as docs %} -
-
-

{% trans "Step" %} 3 : {% if docs.all.count > 1 %}{% trans "read these documents" %}{% else %}{% trans "read this document" %}{% endif %}

-
- {% include "teleforma/inc/document_simple_list.html" %} -
- {% endwith %} - - {% if not seminar.conference in user.auditor.get.conferences.all %} - - {% with seminar.question as questions %} -
-
-

{% trans "Step" %} 4 : {% if questions.all.count > 1 %}{% trans "answer to these questions" %}{% else %}{% trans "answer to this question" %}{% endif %}

-
- {% include "teleforma/inc/question_list.html" %} -
- {% endwith %} - - {% with seminar.docs_correct as docs %} -
-
-

{% trans "Step" %} 5 : {% if docs.all.count > 1 %}{% trans "read these corrected documents" %}{% else %}{% trans "read this corrected document" %}{% endif %}

-
- {% include "teleforma/inc/document_simple_list.html" %} -
- {% endwith %} - - {% if seminar_progress == 100 %} - - {% with seminar.form as form %} -
-
-

{% trans "Step" %} 6 : {% trans "evaluate the seminar" %}

-
- {% include "teleforma/inc/evaluation_form.html" %} -
- {% endwith %} - {% endif %} - - {% if seminar_validated and seminar_progress == 100 and delta_sec >= 0 %} -
-
-

{% trans "Step" %} 7 : {% trans "download your testimonial" %}

-
- {% include "teleforma/inc/testimonial_list.html" %} -
- {% endif %} - - {% endif %} - {% endblock course_content %} ++
- {% endblock course_content %} ++ {% block course_content %} + ++
++
++

{% trans "Informations" %} ++

++
++
++ {% include "teleforma/inc/seminar_description.html" %}
++ {% if messages %} ++
++ {% for message in messages %} ++ {{ message }}
++ {% endfor %} ++
++ {% endif %} ++
++ ++ {% with seminar.docs_1 as docs %} ++
++
++

{% trans "Step" %} 1 : ++ {% if docs.all.count > 1 %}{% trans "read these documents" %}{% else %}{% trans "read this document" %}{% endif %} ++

++
++ {% include "teleforma/inc/document_simple_list.html" %} ++
++ {% endwith %} ++ ++ {% if seminar.conference.webclass %} ++ {% with seminar.conference as webclass %} ++
++
++

{% trans "Step" %} 2 : ++ {% trans "view this conference" %}

++
++ {% include "teleforma/inc/webclass.html" %} ++
++ {% endwith %} ++ {% else %} ++ {% with seminar.medias as medias %} ++
++
++

{% trans "Step" %} 2 : ++ {% if medias.all.count > 1 %}{% trans "view these conferences" %}{% else %}{% trans "view this conference" %}{% endif %} ++

++
++ {% include "teleforma/inc/media_package_list.html" %} ++
++ {% endwith %} ++ {% endif %} ++ ++ ++ ++ {% if seminar.quiz %} ++
++
++

{% trans "Step" %} 2bis : ++ {% trans "Quiz" %}

++
++ {% include "teleforma/inc/quiz_list.html" %} ++
++ {% endif %} ++ ++ {% with seminar.docs_2 as docs %} ++
++
++

{% trans "Step" %} 3 : ++ {% if docs.all.count > 1 %}{% trans "read these documents" %}{% else %}{% trans "read this document" %}{% endif %} ++

++
++ {% include "teleforma/inc/document_simple_list.html" %} ++
++ {% endwith %} ++ ++ {% if seminar.conference.webclass or not seminar.conference in user.auditor.get.conferences.all %} ++ ++ {% with seminar.question as questions %} ++
++
++

{% trans "Step" %} 4 : ++ {% if questions.all.count > 1 %}{% trans "answer to these questions" %}{% else %}{% trans "answer to this question" %}{% endif %} ++

++
++ {% include "teleforma/inc/question_list.html" %} ++
++ {% endwith %} ++ ++ {% with seminar.docs_correct as docs %} ++
++
++

{% trans "Step" %} 5 : ++ {% if docs.all.count > 1 %}{% trans "read these corrected documents" %}{% else %}{% trans "read this corrected document" %}{% endif %} ++

++
++ {% include "teleforma/inc/document_simple_list.html" %} ++
++ {% endwith %} ++ ++ {% if seminar_progress == 100 %} ++ ++ {% with seminar.form as form %} ++
++
++

{% trans "Step" %} 6 : ++ {% trans "evaluate the seminar" %}

++
++ {% include "teleforma/inc/evaluation_form.html" %} ++
++ {% endwith %} ++ {% endif %} ++ ++ {% if seminar_validated and seminar_progress == 100 and delta_sec >= 0 %} ++
++
++

{% trans "Step" %} 7 : ++ {% trans "download your testimonial" %}

++
++ {% include "teleforma/inc/testimonial_list.html" %} ++
++ {% endif %} ++ ++ {% endif %} ++ ++ {% endblock course_content %} ++ ++
@@@ -229,22 -232,22 +249,23 @@@ {% block progress %}
--

status {% trans "Progressions" %}

--
--
    --
  • {% trans "General" %} : {{ total_progress }}% --
    --
  • --
  • {% trans "Seminar" %} : {{ seminar_progress }}% --
    --
  • -- {% if timer %} --
  • -- Votre temps de connexion : {{ timer }} sur {{ seminar.duration }} --
  • -- {% endif %} --
--
++

status ++ {% trans "Progressions" %}

++
++
    ++
  • {% trans "General" %} : {{ total_progress }}% ++
    ++
  • ++
  • {% trans "Seminar" %} : {{ seminar_progress }}% ++
    ++
  • ++ {% if timer %} ++
  • ++ Votre temps de connexion : {{ timer }} sur {{ seminar.duration }} ++
  • ++ {% endif %} ++
++
{% endblock progress %} @@@ -252,10 -255,10 +273,11 @@@ {% block index %} {% if seminar.index %}
--

status {% trans "Plan" %}

--
-- {{ seminar.index|safe }} --
++

status ++ {% trans "Plan" %}

++
++ {{ seminar.index|safe }} ++
{% endif %} --{% endblock index %} ++{% endblock index %}