This commit is contained in:
Ross
2022-01-06 11:22:20 +00:00
parent a111decf9e
commit 0b2b3f8e1f
+2 -2
View File
@@ -53,11 +53,11 @@ class CidUserTable(tables.Table):
"internal_candidate",
"email",
)
sequence = ("cid",)
sequence = ("cid","passcode", "active", "internal_candidate", "emails")
def render_emails(self, value, record):
print(self)
return format_html("""{}\n{}""", record.email, record.supervisor_email)
return format_html("""{}\n[{}]""", record.email, record.supervisor_email)
# def render_cid(self, value, record):
# return format_html("""<a href="#" onclick="return window.create_popup_window('/longs/series/{}', 'Series')" >Popup</a>""", record.pk)