temporary remove target kind condition for displaying details

This commit is contained in:
синечка ♡ 2026-09-02 18:33:54 +03:00
parent 4ad160e46d
commit 381f24a439

View file

@ -234,13 +234,16 @@ class Lesson:
for group in self.group_names
]
if self.target_kind == "teacher":
details = rooms + groups
elif self.target_kind == "room":
details = groups + teachers
elif self.target_kind == "group":
details = teachers + rooms
else:
# FIXME: Не отображаются подгруппы
# if self.target_kind == "teacher":
# details = rooms + groups
# elif self.target_kind == "room":
# details = groups + teachers
# elif self.target_kind == "group":
# details = teachers + rooms
# else:
if True:
details = teachers + rooms + groups
info = ", ".join(details) if details else "Дополнительная информация отсутствует"