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

Merge branch 'fix/comment-on-all-timetables' into 'master'

Show substitution comment on all plans independent of any extra conditions

See merge request !103
parents 7b86df4c 443e5452
No related branches found
No related tags found
1 merge request!103Show substitution comment on all plans independent of any extra conditions
Pipeline #4634 passed
......@@ -52,11 +52,11 @@
{% endif %}
{# When it isn't a room or the old plan, then display the extra text (e. g. work orders) #}
{% if not lesson_period.room == lesson_period.get_room and lesson_period.get_room != el and sub.comment %}
{# Display the comment (e. g. work orders) #}
{% if sub.comment %}
<br>
<small>
<em>{{ lesson_period.get_substitution.comment }}</em>
<em>{{ sub.comment }}</em>
</small>
{% endif %}
{% endwith %}
......
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