Skip to content
Snippets Groups Projects
Verified Commit 6ae3ff32 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Honour substituted lessons in group view. Closes #27.

parent 4d28c5d0
No related branches found
No related tags found
No related merge requests found
......@@ -44,16 +44,20 @@
{% today as today %}
{% if current_date < today %}
table-danger
{% else %}
{% if period.get_substitution %}
table-warning
{% endif %}
{% endif %}
{% endif %}
">
<td>{{ period.period.period }}</td>
<td>
<a href="{% url 'lesson_by_week_and_period' week period.id %}">
{{ period.lesson.subject.name }}
{{ period.get_subject.name }}
</a>
</td>
<td>{{ period.lesson.teacher_names }}</td>
<td>{{ period.get_teacher_names }}</td>
</tr>
{% endfor %}
</tbody>
......
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