According to Alice Russo IAB has recently added the consensus option

for their drafts, so make it possible for them to edit it too
 - Legacy-Id: 4890
This commit is contained in:
Ole Laursen 2012-10-04 08:41:09 +00:00
parent 33baa215b8
commit 3b9bdbcecc
2 changed files with 3 additions and 3 deletions

View file

@ -410,7 +410,7 @@ def document_json(request, name):
data["iana_review_state"] = extract_name(doc.get_state("draft-iana-review"))
data["iana_action_state"] = extract_name(doc.get_state("draft-iana-action"))
if doc.stream_id in ("ietf", "irtf"):
if doc.stream_id in ("ietf", "irtf", "iab"):
e = doc.latest_event(ConsensusDocEvent, type="changed_consensus")
data["consensus"] = e.consensus if e else None
data["stream"] = extract_name(doc.stream)
@ -475,7 +475,7 @@ def document_main_idrfc(request, name, tab):
info['iana_review_state'] = id.get_state("draft-iana-review")
info['iana_action_state'] = id.get_state("draft-iana-action")
info["consensus"] = None
if id.stream_id in ("ietf", "irtf"):
if id.stream_id in ("ietf", "irtf", "iab"):
e = id.latest_event(ConsensusDocEvent, type="changed_consensus")
info["consensus"] = nice_consensus(e and e.consensus)
info["can_edit_consensus"] = can_edit_consensus(id, request.user)

View file

@ -213,7 +213,7 @@ def agenda_docs(date, next_agenda):
if e:
doc.lastcall_expires = e.expires
if doc.stream_id in ("ietf", "irtf"):
if doc.stream_id in ("ietf", "irtf", "iab"):
doc.consensus = "Unknown"
e = doc.latest_event(ConsensusDocEvent, type="changed_consensus")
if e: