Skip to content
Snippets Groups Projects
Verified Commit aedd8152 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Merge branch 'master' into issue12

parents 8095ebbd fe3c8f1a
No related branches found
No related tags found
1 merge request!9WIP: Add way to edit substitution
...@@ -20,8 +20,8 @@ class LessonsTable(tables.Table): ...@@ -20,8 +20,8 @@ class LessonsTable(tables.Table):
row_attrs = {'class': _css_class_from_lesson_state} row_attrs = {'class': _css_class_from_lesson_state}
period__period = tables.Column(accessor='period.period') period__period = tables.Column(accessor='period.period')
lesson__groups = tables.Column(accessor='lesson.group_names') lesson__groups = tables.Column(accessor='lesson.group_names', verbose_name=_('Groups'))
lesson__teachers = tables.Column(accessor='lesson.teacher_names') lesson__teachers = tables.Column(accessor='lesson.teacher_names', verbose_name=_('Teachers'))
lesson__subject = tables.Column(accessor='lesson.subject') lesson__subject = tables.Column(accessor='lesson.subject')
room = tables.Column(accessor='room') room = tables.Column(accessor='room')
edit = tables.LinkColumn('edit_substitution_by_id', args=[A('id')]) edit = tables.LinkColumn('edit_substitution_by_id', args=[A('id')])
......
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