From 1dd8ab4ff177d96121de6a50dc4c674f3a7eb910 Mon Sep 17 00:00:00 2001 From: Jonathan Weth <git@jonathanweth.de> Date: Sat, 20 Feb 2021 11:17:13 +0100 Subject: [PATCH] [Print] Show timetable title in page header --- .../templates/chronos/timetable_print.html | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/aleksis/apps/chronos/templates/chronos/timetable_print.html b/aleksis/apps/chronos/templates/chronos/timetable_print.html index 1d287eb4..1d5790c8 100644 --- a/aleksis/apps/chronos/templates/chronos/timetable_print.html +++ b/aleksis/apps/chronos/templates/chronos/timetable_print.html @@ -7,22 +7,10 @@ <link rel="stylesheet" href="{% static 'css/chronos/timetable_print.css' %}"> {% endblock %} +{% block page_title %} + {% trans "Timetable" %} <i>{{ el.short_name }}</i> +{% endblock %} {% block content %} - - - <h5> - {% trans "Timetable" %} <i>{{ el }}</i> - </h5> - - {# Show class teacher and deputy class teacher #} - {% if type.value == "group" and el.owners.all %} - <p class="no-margin">{% trans "Group teachers:" %} - {% for teacher in el.owners.all %} - {{ teacher.short_name }}{% if not forloop.last %},{% endif %} - {% endfor %} - </p> - {% endif %} - <div class="timetable-plan"> {# Week days #} -- GitLab