Add template for new chartering overview page.
- Legacy-Id: 4088
This commit is contained in:
parent
618e308ac0
commit
63a433aa6d
49
ietf/templates/wginfo/chartering_wgs.html
Normal file
49
ietf/templates/wginfo/chartering_wgs.html
Normal file
|
@ -0,0 +1,49 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Chartering or Re-Chartering Working Groups{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Chartering or Re-Chartering Working Groups</h1>
|
||||
|
||||
<p>Groups with a charter in state
|
||||
{% for s in charter_states %}{% if not forloop.first %}, {% if forloop.last %}or {% endif %}{% endif %}<i>{{ s.name }}</i>{% endfor %}.</p>
|
||||
|
||||
{% if not groups %}
|
||||
<p><b>No groups found.</b></p>
|
||||
{% else %}
|
||||
<table class="ietf-table ietf-doctable">
|
||||
<tr>
|
||||
<th>Acronym</th>
|
||||
<th>Charter</th>
|
||||
<th>Date</th>
|
||||
<th colspan="2">Status</th>
|
||||
</tr>
|
||||
{% for g in groups %}
|
||||
<tr class="{{ forloop.counter|divisibleby:2|yesno:"oddrow,evenrow" }}">
|
||||
<td class="acronym">
|
||||
<a href="{% url wg_view name=g.acronym %}">{{ g.acronym }}</a>
|
||||
</td>
|
||||
<td class="title">
|
||||
<a href="{% url doc_view name=g.charter.name %}">{{ g.name }}</a>
|
||||
</td>
|
||||
<td class="date">{{ g.charter.time|date:"Y-m-d" }}</td>
|
||||
<td class="status">
|
||||
{{ g.charter.get_state.name }}
|
||||
{% if g.chartering_type == "initial" %}(Initial Chartering){% endif %}
|
||||
{% if g.chartering_type == "recharter" %}(Rechartering){% endif %}
|
||||
{% if not g.chartering_type and g.state_id != "active" %}({{ g.state.name }}){% endif %}
|
||||
|
||||
{% if g.charter.telechat_date %}<br/>IESG Telechat: {{ g.charter.telechat_date|date:"Y-m-d" }}{% endif %}
|
||||
</td>
|
||||
<td class="ballot">
|
||||
{% comment %}
|
||||
FIXME: add this back in when ballot situation is clear
|
||||
{% if g.charter.get_state_slug == "iesgrev" %}{% wg_ballot_icon g.acronym %}{% endif %}
|
||||
{% endcomment %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
Loading…
Reference in a new issue