datatracker/ietf/templates/doc/ballot/approvaltext.html
Lars Eggert 9d5d9d5172
fix: replace deprecated bootstrap things (#5858)
* text-muted -> text-body-secondary

* navbar-dark is deprecated

* Remove FIXME block, not an issue anymore

* Remove `navbar-light`
2023-07-18 12:22:28 -05:00

37 lines
1.3 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% load ietf_filters %}
{% block title %}Approval announcement writeup for {{ doc }}{% endblock %}
{% block content %}
{% origin %}
<h1>
Approval announcement writeup
<br>
<small class="text-body-secondary">{{ doc }}</small>
</h1>
<form method="post">
{% csrf_token %}
{% bootstrap_form approval_text_form %}
<button type="submit"
class="btn btn-primary"
name="save_approval_text"
value="Save text">Save text</button>
<button type="submit"
class="btn btn-warning"
name="regenerate_approval_text"
value="Regenerate text">
Regenerate text
</button>
{% if user|has_role:"Secretariat" and can_announce %}
<a class="btn btn-primary"
href="{% url 'ietf.doc.views_ballot.approve_ballot' name=doc.name %}">Approve ballot</a>
{% endif %}
<a class="btn btn-secondary float-end"
href="{% url "ietf.doc.views_doc.document_main" name=doc.canonical_name %}">
Back
</a>
</form>
{% endblock %}