.
This commit is contained in:
+3
-3
@@ -24,7 +24,7 @@ class CidUserTable(tables.Table):
|
||||
# "anatomy:anatomy_question_update", text="Edit", args=[A("pk")], orderable=False
|
||||
# )
|
||||
view = tables.LinkColumn(
|
||||
"cid_scores", text="View", args=[A("cid"), A("passcode")], orderable=False
|
||||
"cid_scores", text=A("cid"), args=[A("cid"), A("passcode")], orderable=False
|
||||
)
|
||||
# image = ImageColumn("image", orderable=False)
|
||||
# clone = tables.LinkColumn('anatomy:anatomy_question_clone',
|
||||
@@ -43,14 +43,14 @@ class CidUserTable(tables.Table):
|
||||
model = CidUser
|
||||
template_name = "django_tables2/bootstrap4.html"
|
||||
fields = (
|
||||
"cid",
|
||||
#"cid",
|
||||
"passcode",
|
||||
"active",
|
||||
"group",
|
||||
"internal_candidate",
|
||||
"email",
|
||||
)
|
||||
# sequence = ("view")
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user