datatracker/ietf/templates/doc/charter/submit.html
Lars Eggert 53089a94f6 And more fixes.
- Legacy-Id: 19902
2022-02-01 07:47:25 +00:00

110 lines
3.7 KiB
HTML

{# bs5ok #}
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% load textfilters %}
{% load person_filters %}
{% block title %}Charter submission for {{ group.acronym }} {{ group.type.name }}{% endblock %}
{% block content %}
{% origin %}
<h1>Charter submission</h1>
<table class="mt-3 table table-sm table-borderless">
<tbody class="meta border-top">
<tr>
<th>{{ group.type.name }}</th>
<th>Name</th>
<th class="fs-6">{{ group.name }}</th>
</tr>
<tr>
<td></td>
<th>Acronym</th>
<td>
<a href="{{ group.about_url }}">{{ group.acronym }}</a>
</td>
</tr>
<tr>
<td></td>
{% if group.parent and group.parent.type_id == "area" %}
<th>{{ group.parent.type.name }}</th>
<td>
{{ group.parent.name }} (
<a href="{{ group.parent.about_url }}">{{ group.parent.acronym }}</a>
)
</td>
{% else %}
<th></th>
<td></td>
{% endif %}
</tr>
<tr>
<td></td>
<th>State</th>
<td>
{{ group.state.name }}
{% if requested_close %}<div class="badge bg-info">In the process of being closed</div>{% endif %}
</td>
</tr>
</tbody>
<tbody class="meta border-top">
{% for slug, label, roles in group.personnel %}
<tr>
{% if forloop.first %}
<th>Personnel</th>
{% else %}
<td></td>
{% endif %}
<th>{{ label }}</th>
<td>
{% for r in roles %}
{% person_link r.person %}
<br>
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
{% if group.list_email %}
<tbody class="meta border-top">
<tr>
<th>Mailing list</th>
<th>Address</th>
<td>{{ group.list_email|linkify }}</td>
</tr>
<tr>
<td></td>
<th>To subscribe</th>
<td>{{ group.list_subscribe|linkify }}</td>
</tr>
<tr>
<td></td>
<th>Archive</th>
<td>
{{ group.list_archive|linkify }}
</td>
</tr>
</tbody>
{% endif %}
</table>
<p class="alert alert-info my-3">
The text will be submitted as <b>{{ name }}-{{ next_rev }}</b>.
</p>
<form enctype="multipart/form-data" method="post" id="charter-form">
{% csrf_token %}
{% bootstrap_form form %}
<button type="submit" class="btn btn-primary">
Submit
</button>
{% if group.charter %}
<a class="btn btn-secondary float-end"
href="{% url "ietf.doc.views_doc.document_main" name=name %}">
Back
</a>
{% else %}
<a class="btn btn-secondary float-end"
href="{% url "ietf.group.views.group_about" group_type=group.type_id acronym=group.acronym %}">
Back
</a>
{% endif %}
</form>
{% endblock %}