Skip to content

Commit dcfe368

Browse files
committed
Streamline a couple of doc helpers to prevent unnecessary DB lookups,
speeds up IESG discusses page up a fair bit - Legacy-Id: 6419
1 parent 1975ff2 commit dcfe368

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

ietf/doc/views_doc.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,10 @@ def render_document_top(request, doc, tab, name):
5959

6060
ballot = doc.latest_event(BallotDocEvent, type="created_ballot")
6161
if doc.type_id in ("draft","conflrev", "statchg"):
62-
# if doc.in_ietf_process and doc.ietf_process.has_iesg_ballot:
6362
tabs.append(("IESG Evaluation Record", "ballot", urlreverse("doc_ballot", kwargs=dict(name=name)), ballot, None if ballot else "IESG Evaluation Ballot has not been created yet"))
6463
elif doc.type_id == "charter":
6564
tabs.append(("IESG Review", "ballot", urlreverse("doc_ballot", kwargs=dict(name=name)), ballot, None if ballot else "IEST Review Ballot has not been created yet"))
6665

67-
# FIXME: if doc.in_ietf_process and doc.ietf_process.has_iesg_ballot:
6866
if doc.type_id not in ["conflrev", "statchg"]:
6967
tabs.append(("IESG Writeups", "writeup", urlreverse("doc_writeup", kwargs=dict(name=name)), True))
7068

0 commit comments

Comments
 (0)