datatracker/ietf/templates/group/active_iabgroups.html
2021-08-31 22:13:38 +00:00

46 lines
1.3 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2021, All Rights Reserved #}
{% load origin static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "jquery.tablesorter/css/theme.bootstrap.min.css" %}">
{% endblock %}
{% block title %}Active IAB groups{% endblock %}
{% block content %}
{% origin %}
{% regroup iabgroups by type as grouped_groups %}
{% for grouptype in grouped_groups %}
<h1>Active {% firstof grouptype.grouper.verbose_name grouptype.grouper.name %}{{grouptype.list|pluralize}}</h1>
<table class="table table-condensed table-striped tablesorter">
<thead>
<tr>
<th>{{grouptype.grouper}}</th>
<th>Name</th>
<th>Lead</th>
</tr>
</thead>
<tbody>
{% for group in grouptype.list %}
<tr>
<td><a href="{% url "ietf.group.views.group_home" acronym=group.acronym %}">{{ group.acronym }}</a></td>
<td>{{ group.name }}</td>
<td>
{% for lead in group.leads %}
<a href="mailto:{{ lead.email.address }}">{{ lead.person.plain_name }}</a>{% if not forloop.last %}, {% endif %}
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endfor %}
{% endblock %}
{% block js %}
<script src="{% static "jquery.tablesorter/js/jquery.tablesorter.combined.min.js" %}"></script>
{% endblock %}