Skip to content
Snippets Groups Projects

WIP: Add way to edit substitution

Merged Tom Teichler requested to merge issue12 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -7,7 +7,7 @@ from django_tables2.utils import A
from .models import LessonPeriod
def _css_class_from_lesson_state(record: Optional[LessonPeriod] = None, table: Optional[LessonsTable] = None) -> str:
def _css_class_from_lesson_state(record: Optional[LessonPeriod] = None, table: Optional[LessonTable] = None) -> str:
if record.get_substitution(table._week):
return 'table-warning'
else:
Loading