.
This commit is contained in:
+2
-2
@@ -53,11 +53,11 @@ class CidUserTable(tables.Table):
|
|||||||
"internal_candidate",
|
"internal_candidate",
|
||||||
"email",
|
"email",
|
||||||
)
|
)
|
||||||
sequence = ("cid",)
|
sequence = ("cid","passcode", "active", "internal_candidate", "emails")
|
||||||
|
|
||||||
def render_emails(self, value, record):
|
def render_emails(self, value, record):
|
||||||
print(self)
|
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):
|
# def render_cid(self, value, record):
|
||||||
# return format_html("""<a href="#" onclick="return window.create_popup_window('/longs/series/{}', 'Series')" >Popup</a>""", record.pk)
|
# 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