Skip to content
Snippets Groups Projects
Commit b9d69d1a authored by Julian's avatar Julian
Browse files

Display homework correctly

parent ef59ab86
No related branches found
No related tags found
1 merge request!236Resolve "Improve week view for mobile devices (size s)"
Pipeline #39132 passed with warnings
......@@ -238,7 +238,7 @@
<th>{% trans "Lesson topic" %}</th>
<td>{% firstof register_object.get_lesson_documentation.topic "–" %}</td>
</tr>
{% with period.get_lesson_documentation as lesson_documentation %}
{% with register_object.get_lesson_documentation as lesson_documentation %}
{% if lesson_documentation.homework %}
<tr>
<th>{% trans "Homework" %}</th>
......@@ -317,7 +317,7 @@
<dt>{% trans "Lesson topic" %}</dt>
<dd>{% firstof register_object.get_lesson_documentation.topic "–" %}</dd>
{% with period.get_lesson_documentation as lesson_documentation %}
{% with register_object.get_lesson_documentation as lesson_documentation %}
{% if lesson_documentation.homework %}
<dt>{% trans "Homework" %}</dt>
<dd>{% firstof register_object.get_lesson_documentation.homework "–" %}</dd>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment