From b86c10e26a3640cf18f1f65afde817bacfe38a55 Mon Sep 17 00:00:00 2001
From: Jonathan Weth <edugit@jonathanweth.de>
Date: Mon, 13 Jan 2020 11:22:18 +0100
Subject: [PATCH] Apply suggestion to
 aleksis/apps/chronos/templates/chronos/plan.html

---
 aleksis/apps/chronos/templates/chronos/plan.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aleksis/apps/chronos/templates/chronos/plan.html b/aleksis/apps/chronos/templates/chronos/plan.html
index 7d25724d..69d2f5cf 100644
--- a/aleksis/apps/chronos/templates/chronos/plan.html
+++ b/aleksis/apps/chronos/templates/chronos/plan.html
@@ -40,7 +40,7 @@
       </h4>
 
       {# Show class teacher and deputy class teacher #}
-      {% if type == 2 and el.teachers %}
+      {% if type == "group" and el.teachers %}
         <h5>Klassenlehrkräfte:
           {% for teacher in el.teachers %}
 
-- 
GitLab