fix: Make the "submit to IESG" workflow less surprising to @LPardue :-) (#4254)
* fix: Make the "submit to IESG" workflow less surprising to @LPardue :-) Fixes #4209 * Merge part of #4256
This commit is contained in:
parent
e1907d0b4d
commit
3d49384213
|
@ -1596,6 +1596,7 @@ class ChangeStreamStateForm(forms.Form):
|
|||
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']
|
||||
|
|
|
@ -17,7 +17,11 @@
|
|||
<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">
|
||||
|
|
Loading…
Reference in a new issue