Skip to content

Commit b8724d8

Browse files
committed
Fix bug with tabs not using provided name but rather doc.name
- Legacy-Id: 5287
1 parent 5efcc5f commit b8724d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/idrfc/views_doc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ def render_document_top(request, doc, tab, name):
6868

6969
# FIXME: if doc.in_ietf_process and doc.ietf_process.has_iesg_ballot:
7070
if doc.type_id != "conflrev":
71-
tabs.append(("IESG Writeups", "writeup", urlreverse("ietf.idrfc.views_doc.document_writeup", kwargs=dict(name=doc.name)), True))
71+
tabs.append(("IESG Writeups", "writeup", urlreverse("ietf.idrfc.views_doc.document_writeup", kwargs=dict(name=name)), True))
7272

73-
tabs.append(("History", "history", urlreverse("ietf.idrfc.views_doc.document_history", kwargs=dict(name=doc.name)), True))
73+
tabs.append(("History", "history", urlreverse("ietf.idrfc.views_doc.document_history", kwargs=dict(name=name)), True))
7474

7575
if name.startswith("rfc"):
7676
name = "RFC %s" % name[3:]

0 commit comments

Comments
 (0)