.
This commit is contained in:
+2
-3
@@ -133,12 +133,11 @@ class SeriesTable(tables.Table):
|
|||||||
)
|
)
|
||||||
|
|
||||||
class ConditionTable(tables.Table):
|
class ConditionTable(tables.Table):
|
||||||
|
name = tables.Column(linkify=('atlas:condition_detail', {'pk': tables.A('pk')}))
|
||||||
|
|
||||||
#edit = tables.LinkColumn(
|
#edit = tables.LinkColumn(
|
||||||
# "atlas:condition_update", text="Edit", args=[A("pk")], orderable=False
|
# "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(
|
view = tables.LinkColumn(
|
||||||
"atlas:condition_detail", text="View", args=[A("pk")], orderable=False
|
"atlas:condition_detail", text="View", args=[A("pk")], orderable=False
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user