{# -*- engine:django -*- #} {% extends 'core/base.html' %} {% load i18n static %} {% block extra_head %} {% endblock %} {% block browser_title %}{% blocktrans %}Substitutions{% endblocktrans %}{% endblock %} {% block no_page_title %}{% endblock %} {% block content %}

{% trans "Substitutions" %}

{% include "chronos/partials/headerbox.html" %} {# {% include "chronos/hintsinsub.html" %}#}
{% include "chronos/partials/datepicker.html" %}
{{ day|date:"l" }}, {{ day }}
{% if not substitutions %} {% endif %} {% for sub in substitutions %} {# TODO: Extend support for blue and purple (supervisions and events) #} {% endfor %}
people access_time {% trans "Teacher" %} {% trans "Subject" %} {% trans "Room" %} {% trans "Notes" %}

{% 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:"" }}#} {% if sub.cancelled %} {% trans "Cancelled" %} {% endif %}
{% endblock %}