datatracker/ietf/templates/doc/draft/change_state.html
Lars Eggert a4daf2630c Merge branch 'lars/5.6.3-facelift' into lars/5.6.4-facelift
Conflicts:
	ietf/doc/templatetags/ietf_filters.py
	ietf/doc/views_charter.py
	ietf/templates/doc/charter/edit_notify.html
	ietf/templates/doc/charter/edit_telechat_date.html
	ietf/templates/doc/document_ballot_content.html
	ietf/templates/doc/document_history.html
	ietf/templates/doc/edit_notify.html
	ietf/templates/doc/edit_telechat_date.html
	ietf/templates/doc/notify.html
	ietf/templates/group/concluded_groups.html
 - Legacy-Id: 8429
2014-10-14 11:48:57 +00:00

70 lines
1.9 KiB
HTML

{% extends "ietf.html" %}
{% load bootstrap3 %}
{% block title %}Change state for {{ doc }}{% endblock %}
{% block content %}
<h1>Change state<br><small>{{ doc }}</small></h1>
{% bootstrap_messages %}
<p>
<a class="btn btn-info" href="{% url "state_help" type="draft-iesg" %}">Help on states</a>
</p>
<form role="form" method="post">
{% csrf_token %}
{% bootstrap_form form %}
{% if state and state.slug == "rfcqueue" %}
<span class="help-block">
<b>Note:</b> If you pull the draft out of the
<i>{{ state.name }}</i> state, the RFC Editor and IANA will be notified
by email with this comment, so they can update their queues.
</span>
{% endif %}
{% buttons %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-default pull-right" href="{% url "doc_view" name=doc.name %}">Back</a>
{% endbuttons %}
</form>
{% if next_states %}
<h2>Or jump directly to</h2>
<div class="buttonlist">
{% for n in next_states %}
<form role="form" method="post">
{% csrf_token %}
<input type="hidden" name="state" value="{{ n.pk }}">
<input class="btn btn-default" type="submit" value="{{ n.name }}">
</form>
{% endfor %}
</div>
{% endif %}
{% if to_iesg_eval %}
<h2>You could also jump directly to</h2>
<form role="form" method="post">
{% csrf_token %}
<input type="hidden" name="state" value="{{ to_iesg_eval.pk }}">
<input class="btn btn-warning" type="submit" value="{{ to_iesg_eval.name }}">
But the ballot for this document has not yet been issued.
<a class="btn btn-default" href="{% url "doc_ballot_writeupnotes" name=doc.name %}">Edit ballot text</a>
</form>
{% endif %}
{% if prev_state %}
<h2>Or revert to previous state</h2>
<form role="form" method="post">
{% csrf_token %}
<input type="hidden" name="state" value="{{ prev_state.pk }}">
<input class="btn btn-danger" type="submit" value="Revert to {{ prev_state.name }}">
</form>
{% endif %}
{% endblock %}