temporary remove target kind condition for displaying details
This commit is contained in:
parent
4ad160e46d
commit
381f24a439
1 changed files with 10 additions and 7 deletions
|
|
@ -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 "Дополнительная информация отсутствует"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue