From 6ac2f50b7970a3bb34a2731508fbcc58f43d85d7 Mon Sep 17 00:00:00 2001 From: Tom Teichler <tom.teichler@teckids.org> Date: Sat, 31 Aug 2019 23:41:44 +0200 Subject: [PATCH] Revert "Add link to table." This reverts commit c714e9f37d3e881210198967a190063404371a87. --- biscuit/apps/chronos/tables.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/biscuit/apps/chronos/tables.py b/biscuit/apps/chronos/tables.py index ae34646b..5836ffa7 100644 --- a/biscuit/apps/chronos/tables.py +++ b/biscuit/apps/chronos/tables.py @@ -19,11 +19,11 @@ class LessonsTable(tables.Table): attrs = {'class': 'table table-striped table-bordered table-hover table-responsive-xl'} row_attrs = {'class': _css_class_from_lesson_state} - period__period = tables.LinkColumn('edit_substitution_by_id', args=[A('id')], accessor='period.period') - lesson__groups = tables.LinkColumn('edit_substitution_by_id', args=[A('id')], accessor='lesson.group_names') - lesson__teachers = tables.LinkColumn('edit_substitution_by_id', args=[A('id')], accessor='lesson.teacher_names') - lesson__subject = tables.LinkColumn('edit_substitution_by_id', args=[A('id')], accessor='lesson.subject') - room = tables.LinkColumn('edit_substitution_by_id', args=[A('id')], accessor='room') + period__period = tables.Column(accessor='period.period') + lesson__groups = tables.Column(accessor='lesson.group_names') + lesson__teachers = tables.Column(accessor='lesson.teacher_names') + lesson__subject = tables.Column(accessor='lesson.subject') + room = tables.Column(accessor='room') def __init__(self, week, *args, **kwargs): self._week = week -- GitLab