diff --git a/aleksis/apps/alsijil/templates/alsijil/class_register/week_view.html b/aleksis/apps/alsijil/templates/alsijil/class_register/week_view.html index 77937de98f47ef2cd5c312d690d65b269cf469fa..3e648776ae2807a88a8b40aafc98dd795de46bbd 100644 --- a/aleksis/apps/alsijil/templates/alsijil/class_register/week_view.html +++ b/aleksis/apps/alsijil/templates/alsijil/class_register/week_view.html @@ -68,6 +68,8 @@ <th>{% blocktrans %}Subject{% endblocktrans %}</th> <th>{% blocktrans %}Teachers{% endblocktrans %}</th> <th>{% blocktrans %}Lesson topic{% endblocktrans %}</th> + <th>{% blocktrans %}Homework{% endblocktrans %}</th> + <th>{% blocktrans %}Group note{% endblocktrans %}</th> </tr> </thead> <tbody> @@ -102,9 +104,19 @@ </td> <td> <a class="tr-link" href="{% url 'lesson_by_week_and_period' week.year week.week period.id %}"> - {{ period.get_lesson_documentation.topic }} + {% firstof period.get_lesson_documentation.topic "–" %} </a> </td> + <td> + <a class="tr-link" href="{% url 'lesson_by_week_and_period' week.year week.week period.id %}"> + {% firstof period.get_lesson_documentation.homework "–" %} + </a> + </td> + <td> + <a class="tr-link" href="{% url 'lesson_by_week_and_period' week.year week.week period.id %}"> + {% firstof period.get_lesson_documentation.group_note "–" %} + </a> + </td> </tr> {% endif %} {% endfor %}