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

Merge branch '157-announcements-are-not-shown-on-substitutions-printout' into 'master'

Resolve "Announcements are not shown on substitutions printout"

Closes #157

See merge request !216
parents de876c41 bbff9c13
No related branches found
Tags 2.1dev3
1 merge request!216Resolve "Announcements are not shown on substitutions printout"
Pipeline #41456 failed
...@@ -18,6 +18,7 @@ Fixed ...@@ -18,6 +18,7 @@ Fixed
~~~~~ ~~~~~
* Events replace normal lesson periods in all views. * Events replace normal lesson periods in all views.
* Announcements weren't shown on substitutions printout.
`2.0`_ - 2021-10-30 `2.0`_ - 2021-10-30
------------------- -------------------
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
{% for day, c in days.items %} {% for day, c in days.items %}
<h4>{{ c.day|date:"l" }} {{ c.day|date:"SHORT_DATE_FORMAT" }}</h4> <h4>{{ c.day|date:"l" }} {{ c.day|date:"SHORT_DATE_FORMAT" }}</h4>
{% include "core/partials/announcements.html" with announcements=announcements show_recipients=1 %} {% include "core/partials/announcements.html" with announcements=c.announcements show_recipients=1 %}
{% include "chronos/partials/headerbox.html" with affected_teachers=c.affected_teachers affected_groups=c.affected_groups absent_teachers=c.absent_teachers absent_groups=c.absent_groups print=1 %} {% include "chronos/partials/headerbox.html" with affected_teachers=c.affected_teachers affected_groups=c.affected_groups absent_teachers=c.absent_teachers absent_groups=c.absent_groups print=1 %}
......
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