This commit is contained in:
Ross
2021-12-05 18:55:21 +00:00
parent c7f423c7d4
commit ccbf8a5bcd
+2 -3
View File
@@ -133,12 +133,11 @@ class SeriesTable(tables.Table):
)
class ConditionTable(tables.Table):
name = tables.Column(linkify=('atlas:condition_detail', {'pk': tables.A('pk')}))
#edit = tables.LinkColumn(
# "atlas:condition_update", text="Edit", args=[A("pk")], orderable=False
#)
name = tables.LinkColumn(
"atlas:condition_update", text=A("name"), args=[A("pk")], orderable=False
)
view = tables.LinkColumn(
"atlas:condition_detail", text="View", args=[A("pk")], orderable=False
)