datatracker/ietf/templates/group/active_wgs.html
Lars Eggert a114ad9ecc More agenda fixes.
- Legacy-Id: 19674
2021-11-17 12:56:09 +00:00

101 lines
4.7 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin static group_filters %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/datatables.css" %}">
{% endblock %}
{% block title %}Active IETF working groups{% endblock %}
{% block bodyAttrs %}data-bs-spy="scroll" data-bs-target="#affix"{% endblock %}
{% block content %}
{% origin %}
<div class="row">
<div class="col-md-10">
<h1>Active IETF working groups</h1>
<a class="btn btn-primary" href="{% url "ietf.group.views.concluded_groups" %}">Concluded WGs</a>
<a class="btn btn-primary" href="{% url "ietf.group.views.all_status" %}">Status Reports</a>
<a class="btn btn-primary" href="{% url "ietf.group.views.chair_photos" group_type="wg" %}">Chair Photos</a>
{% for area in areas %}
<h2 class="anchor-target" id="{{area.acronym}}">{{ area.name }} ({{ area.acronym }})</h2>
{% if area.ads_and_pre_ads %}
<h3>{{ area.acronym }} Area Director{{ area.ads_and_pre_ads|pluralize }} (AD{{ area.ads_and_pre_ads|pluralize }})</h3>
<ul class="list-unstyled">
{% for ad in area.ads_and_pre_ads %}
<li>
<a href="{% url 'ietf.person.views.profile' email_or_name=ad.person.name %}">{{ ad.person.plain_name }}</a>
<a href="mailto:{{ ad.email.address }}"><span class="bi bi-envelope tiny"></span></a>
{% if ad.name == "pre-ad" %} (Incoming AD){% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
{% if area.urls %}
<h3>{{ area.acronym }} area-specific web page{{ area.urls|pluralize}}</h3>
<ul class="list-unstyled">
{% for url in area.urls %}
<li><a href="{{ url.value }}">{{ url.name }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% if area.groups %}
<h3>{{ area.acronym }} active WG{{ area.groups|pluralize}} ({{area.groups.count}})</h3>
<table class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th>Group</th>
<th>Responsible AD</th>
<th>Name</th>
<th>Chairs</th>
</tr>
</thead>
<tbody>
{% for group in area.groups %}
<tr>
<td><div class="anchor-target" id="{{group.acronym}}"><a href="{% url "ietf.group.views.group_home" group_type=group.type_id acronym=group.acronym %}">{{ group.acronym }}</a></div></td>
<td>
{% if group.ad_role %}
<a href="{% url 'ietf.person.views.profile' email_or_name=group.ad_role.person.name %}">{{ group.ad_role.person.plain_name.split.0 }}</a>
<a href="mailto:{{ group.ad_role.email.address }}"><span class="bi bi-envelope tiny"></span></a>
{% endif %}
</td>
<td>{{ group.name }}</td>
<td>
{% for chair in group.chairs %}{% role_person_link chair %}{% if not forloop.last %} , {% endif %}
{% endfor %}
{% if group.ad_out_of_area %}(Assigned AD: {% role_person_link group.ad_role %}){% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<h3>No active {{ area.acronym }} WGs</h3>
{% endif %}
<hr>
{% endfor %}
</div>
<div class="col-md-2 d-print-none" id="affix">
<ul class="nav nav-pills nav-stacked small" data-bs-spy="affix">
{% for area in areas %}
<li><a href="#{{area.acronym}}">{{ area.name }}</a></li>
{% endfor %}
</ul>
</div>
</div>
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/datatables.js" %}"></script>
{% endblock %}