diff --git a/ietf/doc/views_draft.py b/ietf/doc/views_draft.py index 15337c5d9..5192b6c4b 100644 --- a/ietf/doc/views_draft.py +++ b/ietf/doc/views_draft.py @@ -1178,6 +1178,8 @@ def request_publication(request, name): if not is_authorized_in_doc_stream(request.user, doc): return HttpResponseForbidden("You do not have the necessary permissions to view this page") + consensus_event = doc.latest_event(ConsensusDocEvent, type="changed_consensus") + m = Message() m.frm = request.user.person.formatted_email() m.to = "RFC Editor " @@ -1247,6 +1249,7 @@ def request_publication(request, name): doc=doc, message=m, next_state=next_state, + consensus_filled_in=consensus_event != None, ), context_instance = RequestContext(request)) diff --git a/ietf/templates/doc/draft/request_publication.html b/ietf/templates/doc/draft/request_publication.html index 36601cf48..32aadcc40 100644 --- a/ietf/templates/doc/draft/request_publication.html +++ b/ietf/templates/doc/draft/request_publication.html @@ -3,9 +3,9 @@ {% block title %}Request publication for {{ doc }}{% endblock %} {% block morecss %} +p.warning { color: #a00; font-weight: bold; } form.request-publication #id_subject, form.request-publication #id_body { width: 50em; } - form.request-publication #id_body { height: 30em; } {% endblock %} @@ -15,6 +15,15 @@ form.request-publication #id_body { height: 30em; }

Send a publication request to the RFC Editor for {{ doc }} and move it to the {{ next_state.name }} stream state.

+{% if not doc.intended_std_level %} +

Note: Intended RFC status is not set for the document.

+{% endif %} + +{% if doc.stream_id != "ise" and not consensus_filled_in %} +

Note: Consensus status is not set for the document.

+{% endif %} + +

Please edit the message and remove any parts in brackets you do not fill in. For independent submissions, see the guidelines.

@@ -27,9 +36,9 @@ href="http://www.rfc-editor.org/indsubs.html">guidelines.

Message: {{ form.body }} {{ form.body.errors }} - Back - - + Cancel + +