73 lines
2.1 KiB
HTML
73 lines
2.1 KiB
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
|
|
{% load bootstrap3 %}
|
|
|
|
{% block title %}Change state for {{ doc }}{% endblock %}
|
|
|
|
{% block content %}
|
|
{% origin %}
|
|
<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 method="post">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
|
|
{% if state and state.slug == "rfcqueue" %}
|
|
<div 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.
|
|
</div>
|
|
{% 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 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 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 method="post">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="state" value="{{ prev_state.pk }}">
|
|
<input class="btn btn-warning" type="submit" value="Revert to {{ prev_state.name }}">
|
|
</form>
|
|
{% endif %}
|
|
{% endblock %}
|