Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ietf/doc/views_draft.py
Original file line number Diff line number Diff line change
Expand Up @@ -1596,6 +1596,7 @@ def __init__(self, *args, **kwargs):
if self.can_set_sub_pub:
f.help_text = "Only select 'Submitted to IESG for Publication' to correct errors. Use the document's main page to request publication."
else:
f.queryset = f.queryset.exclude(slug='sub-pub')
f.help_text = "You may not set the 'Submitted to IESG for Publication' using this form - Use the document's main page to request publication."

f = self.fields['tags']
Expand Down
6 changes: 5 additions & 1 deletion ietf/templates/doc/draft/change_stream_state.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ <h1>
<b>Move document to {{ next_states|pluralize:"to one of" }} the recommended next state{{ next_states|pluralize }}:</b>
</p>
{% for state in next_states %}
<button type="button" class="btn btn-primary next-state" data-state="{{ state.pk }}">{{ state.name }}</button>
{% if state.slug == 'sub-pub' %}
<a type="button" class="btn btn-primary next-state" href="{% url 'ietf.doc.views_draft.to_iesg' name=doc.name %}">{{ state.name }}</a>
{% else %}
<button type="button" class="btn btn-primary next-state" data-state="{{ state.pk }}">{{ state.name }}</button>
{% endif %}
{% endfor %}
{% endif %}
<form class="mt-5" method="post">
Expand Down