show classname instead of teacher name in teacher timetable view

This commit is contained in:
2026-08-09 12:19:57 +02:00
parent 39c16bd4ea
commit 889d8f67c5
21 changed files with 292 additions and 81 deletions
+3
View File
@@ -28,6 +28,9 @@ abstract class WidgetLesson with _$WidgetLesson {
required String subjectShort,
String? subjectLong,
String? room,
/// On teacher accounts this carries the class label ("7a") instead of the
/// teacher short name — see `WidgetDataMapper` `showClassInsteadOfTeacher`;
/// [originalTeacher] is null in that case.
String? teacher,
String? originalTeacher,
required WidgetLessonStatus status,