Skip to content

Commit 3decaf3

Browse files
committed
Added back the 'Request Publication' action (regression loss) on draft pages for the non-ietf streams.
- Legacy-Id: 5921
1 parent 544d252 commit 3decaf3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

ietf/doc/views_doc.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,13 @@ def document_main(request, name, rev=None):
301301
label += " (note that intended status is not set)"
302302
actions.append((label, urlreverse('conflict_review_start', kwargs=dict(name=doc.name))))
303303

304+
if (doc.get_state_slug() != "expired" and doc.stream_id in ("iab", "ise", "irtf")
305+
and can_edit_stream_info and not iesg_state):
306+
label = "Request Publication"
307+
if not doc.intended_std_level:
308+
label += " (note that intended status is not set)"
309+
actions.append((label, urlreverse('doc_request_publication', kwargs=dict(name=doc.name))))
310+
304311
if doc.get_state_slug() != "expired" and doc.stream_id in ("ietf",) and can_edit and not iesg_state:
305312
actions.append(("Begin IESG Processing", urlreverse('doc_edit_info', kwargs=dict(name=doc.name)) + "?new=1"))
306313

0 commit comments

Comments
 (0)