This commit is contained in:
Ross
2021-12-17 17:56:49 +00:00
parent 838c4dfe0e
commit 02567f6fbe
3 changed files with 7 additions and 78 deletions
+6 -3
View File
@@ -23,9 +23,9 @@ class CidUserTable(tables.Table):
# edit = tables.LinkColumn(
# "anatomy:anatomy_question_update", text="Edit", args=[A("pk")], orderable=False
# )
# view = tables.LinkColumn(
# "anatomy:question_detail", text="View", args=[A("pk")], orderable=False
# )
view = tables.LinkColumn(
"cid_scores", text="View", args=[A("cid"), A("passcode")], orderable=False
)
# image = ImageColumn("image", orderable=False)
# clone = tables.LinkColumn('anatomy:anatomy_question_clone',
# text='Clone',
@@ -51,3 +51,6 @@ class CidUserTable(tables.Table):
"email",
)
# sequence = ("view")
# def render_cid(self, value, record):
# return format_html("""<a href="#" onclick="return window.create_popup_window('/longs/series/{}', 'Series')" >Popup</a>""", record.pk)