Skip to content
Snippets Groups Projects

Show substitution comment on all plans independent of any extra conditions

Merged Jonathan Weth requested to merge fix/comment-on-all-timetables into master
2 unresolved threads
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -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 %}
Loading