.
This commit is contained in:
+4
-1
@@ -15,8 +15,11 @@ from django.utils.html import format_html
|
|||||||
|
|
||||||
|
|
||||||
class EntryTable(tables.Table):
|
class EntryTable(tables.Table):
|
||||||
|
view = tables.LinkColumn(
|
||||||
|
"oef:entry_detail", text="Edit", args=[A("pk")], orderable=False
|
||||||
|
)
|
||||||
edit = tables.LinkColumn(
|
edit = tables.LinkColumn(
|
||||||
"oef:entry_update", text="Edit", args=[A("pk")], orderable=False
|
"oef:entry_update", text="View", args=[A("pk")], orderable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|||||||
Reference in New Issue
Block a user