{# -*- engine:django -*- #} {% extends 'core/base_print.html' %} {% load i18n static %} {% block extra_head %} {% endblock %} {% block browser_title %}{% blocktrans %}Print: Substitutions{% endblocktrans %}{% endblock %} {% block page_title %}{% blocktrans %}Substitutions{% endblocktrans %}{% endblock %} {% block content %} {% for day, c in days.items %}

{% trans "Substitutions" %} {{ c.day|date:"l" }} {{ c.day }}

{# {% include "timetable/hintsinsubprint.html" %}#} {#
#} {# {% if c.header_info.is_box_needed %}#} {# {% for row in c.header_info.rows %}#} {#
#} {#
#} {# {{ row.0 }}#} {#
#} {#
#} {# {{ row.1 }}#} {#
#} {#
#} {# {% endfor %}#} {# {% endif %}#} {#
#} {% if not c.substitutions %} {% endif %} {% for sub in c.substitutions %} {% ifchanged sub.lesson_period.lesson.groups %} {% endifchanged %} {% endfor %}
people access_time {% blocktrans %}Teachers{% endblocktrans %} {% blocktrans %}Subject{% endblocktrans %} {% blocktrans %}Room{% endblocktrans %} {% blocktrans %}Notes{% endblocktrans %}

{% blocktrans %}No substitutions available.{% endblocktrans %}

{% include "chronos/partials/groups.html" with groups=sub.lesson_period.lesson.groups.all %} {{ sub.lesson_period.period.period }}. {% include "chronos/partials/subs/teachers.html" %} {% include "chronos/partials/subs/subject.html" %} {% include "chronos/partials/subs/room.html" %} {% if sub.cancelled %} {# TODO: Support other cases#} {% trans "Cancelled" %} {% endif %} {# {{ sub.text|default:"" }}#}
{% endfor %} {% endblock %}