From: Guillaume Pellerin Date: Thu, 26 Jun 2025 07:35:06 +0000 (+0200) Subject: add webclass to courses list view X-Git-Tag: 2.14.2~6 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a3d8f8d0b947c139edb3cc770f47817c604ae41f;p=teleforma.git add webclass to courses list view --- diff --git a/teleforma/templates/teleforma/courses.html b/teleforma/templates/teleforma/courses.html index e1125585..c6c7993b 100644 --- a/teleforma/templates/teleforma/courses.html +++ b/teleforma/templates/teleforma/courses.html @@ -181,6 +181,26 @@ {% endblock %} {% endfor %} + +
+
Webclasses{% if course.description %} - + {{ course.description }}{% endif %} +
+ {% block webclass %} + {% include "webclass/inc/webclass_list.html" %} + {% endblock %} +
+ +
+
Corrections de copies{% if course.description %} - + {{ course.description }}{% endif %} + {% if user.is_staff or user.professor.count %}Créer une correction de copie{% endif %} +
+ {% block webclass_corrections %} + {% include "webclass/inc/webclass_corrections_list.html" %} + {% endblock %} +
+ {% endwith %} {% endfor %} {% endif %}