Skip to content

Commit 3d6fed4

Browse files
committed
Removed the 'Document' tab introduced in 6.48.0
- Legacy-Id: 13228
1 parent 7e8aeee commit 3d6fed4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

ietf/doc/views_doc.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,6 @@ def render_document_top(request, doc, tab, name):
7272
tabs = []
7373
tabs.append(("Status", "status", urlreverse("ietf.doc.views_doc.document_main", kwargs=dict(name=name)), True, None))
7474

75-
if doc.type_id in ["draft", "charter", ]:
76-
tabs.append(("Document", "document", urlreverse("ietf.doc.views_doc.document_html", kwargs=dict(name=name)), True, None))
77-
7875
ballot = doc.latest_event(BallotDocEvent, type="created_ballot")
7976
if doc.type_id in ("draft","conflrev", "statchg"):
8077
tabs.append(("IESG Evaluation Record", "ballot", urlreverse("ietf.doc.views_doc.document_ballot", kwargs=dict(name=name)), ballot, None if ballot else "IESG Evaluation Ballot has not been created yet"))
@@ -627,7 +624,7 @@ def document_html(request, name, rev=None):
627624
if not os.path.exists(doc.get_file_name()):
628625
raise Http404("Document not found: %s" % doc.get_base_name())
629626

630-
top = render_document_top(request, doc, "document", name)
627+
top = render_document_top(request, doc, "status", name)
631628
if not rev and not name.startswith('rfc'):
632629
rev = doc.rev
633630
if rev:

0 commit comments

Comments
 (0)