Skip to content
Snippets Groups Projects
Verified Commit 443e5452 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Show substitution comment on all plans independent of any extra conditions

parent 7b86df4c
No related branches found
No related tags found
1 merge request!103Show substitution comment on all plans independent of any extra conditions
Pipeline #4623 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