From 084d3e0077f6c98d1ff8e756d3ce55877acdd479 Mon Sep 17 00:00:00 2001 From: Jonathan Weth <git@jonathanweth.de> Date: Sat, 17 Jun 2023 23:24:20 +0200 Subject: [PATCH] Fix group names in lesson event description --- .../apps/chronos/templates/chronos/lesson_event_description.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aleksis/apps/chronos/templates/chronos/lesson_event_description.txt b/aleksis/apps/chronos/templates/chronos/lesson_event_description.txt index 055eb824..573c9235 100644 --- a/aleksis/apps/chronos/templates/chronos/lesson_event_description.txt +++ b/aleksis/apps/chronos/templates/chronos/lesson_event_description.txt @@ -1,4 +1,4 @@ -{% load i18n %}{% trans "Groups" %}: {{ event.group_names_with_amends|default:"–" }}{% if event.subject %} +{% load i18n %}{% trans "Groups" %}: {{ event.group_names|default:"–" }}{% if event.subject %} {% trans "Subject" %}: {{ event.subject_name_with_amends }}{% endif %} {% trans "Teachers" %}: {{ event.teacher_names_with_amends|default:"–" }} {% trans "Rooms" %}: {{ event.room_names_with_amends|default:"–" }}{% if event.comment %} -- GitLab