Skip to content
Snippets Groups Projects
Verified Commit cc317135 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Remove substitutions table generator (not needed anymore)

parent 0b3cba23
No related branches found
No related tags found
1 merge request!31Biscuit merge. Closes #53.
......@@ -35,19 +35,3 @@ class LessonsTable(tables.Table):
edit_substitution = tables.LinkColumn(
"edit_substitution", args=[A("id"), A("_week")], text=_("Substitution")
)
class SubstitutionsTable(tables.Table):
class Meta:
attrs = {"class": "highlight"}
lesson_period = tables.Column(verbose_name=_("Lesson"))
lesson__groups = tables.Column(
accessor="lesson_period__lesson__group_names", verbose_name=_("Groups")
)
lesson__teachers = tables.Column(
accessor="lesson_period__get_teacher_names", verbose_name=_("Teachers")
)
lesson__subject = tables.Column(accessor="subject")
room = tables.Column(accessor="room")
cancelled = tables.BooleanColumn(accessor="cancelled", verbose_name=_("Cancelled"))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment