From a3d8f8d0b947c139edb3cc770f47817c604ae41f Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 26 Jun 2025 09:35:06 +0200 Subject: [PATCH] add webclass to courses list view --- teleforma/templates/teleforma/courses.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 %} -- 2.39.5