datatracker/ietf/templates/doc/draft/change_state.html
Lars Eggert 448c6dbe9e And more bs5 stuff
- Legacy-Id: 19717
2021-12-01 13:52:50 +00:00

73 lines
2.4 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% block title %}Change state for {{ doc }}{% endblock %}
{% block content %}
{% origin %}
<h1>Change state<br><small class="text-muted">{{ doc }}</small></h1>
<p>
<a class="btn btn-info" href="{% url 'ietf.doc.views_help.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 %}
<button type="submit" class="btn btn-primary">Submit</button>
<a class="btn btn-primary float-end" href="{% url "ietf.doc.views_doc.document_main" name=doc.name %}">Back</a>
</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-primary" 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-primary" href="{% url 'ietf.doc.views_ballot.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 %}