From ea4227d37a02de7801f470465791621af0f9056d Mon Sep 17 00:00:00 2001 From: Niklas Elsbrock Date: Mon, 2 Aug 2021 22:36:32 +0200 Subject: [PATCH] Bugfix: time-tag in HTML-title entfernt --- nateman/templates/klausuren/edit.html.j2 | 2 +- nateman/templates/macros.j2 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nateman/templates/klausuren/edit.html.j2 b/nateman/templates/klausuren/edit.html.j2 index 43e9bec..b2b4a15 100644 --- a/nateman/templates/klausuren/edit.html.j2 +++ b/nateman/templates/klausuren/edit.html.j2 @@ -21,7 +21,7 @@ {% block title %} Klausur: {{ klausur.kursname }} - ({{ macros.date(klausur.date) }}; {{ klausur.lehrer.kuerzel }}, {{ klausur.stufe.name }}) + ({{ macros.date(klausur.date, tag=false) }}; {{ klausur.lehrer.kuerzel }}, {{ klausur.stufe.name }}) {% endblock %} {% block header %} Klausur: {{ klausur.kursname }} diff --git a/nateman/templates/macros.j2 b/nateman/templates/macros.j2 index 6e733a1..d217e69 100644 --- a/nateman/templates/macros.j2 +++ b/nateman/templates/macros.j2 @@ -17,10 +17,10 @@ along with this program. If not, see . #} -{% macro date(date) -%} - {% endif %} {%- endmacro %} {% macro zeitraum(klausur) -%}