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

Use correct context to get announcements in substitutions printout

parent b53dd9bd
No related branches found
No related tags found
1 merge request!216Resolve "Announcements are not shown on substitutions printout"
......@@ -16,7 +16,7 @@
{% for day, c in days.items %}
<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 %}
......
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