datatracker/ietf/templates/group/active_adm.html
2022-02-01 16:11:34 +00:00

43 lines
1.5 KiB
HTML

{# bs5ok #}
{% extends "base.html" %}
{# Copyright The IETF Trust 2021, All Rights Reserved #}
{% load origin static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block title %}Active administrative groups{% endblock %}
{% block content %}
{% origin %}
<h1>Active administrative groups</h1>
<table class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th data-sort="group">Group</th>
<th data-sort="name">Name</th>
</tr>
</thead>
{% regroup adm by parent as grouped_groups %}
{% for grouptype in grouped_groups %}
<thead>
<tr>
<th colspan="2" class="table-info">
Active {% firstof grouptype.grouper.verbose_name grouptype.grouper.name 'Top-level Administration' %}
</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>
</tr>
{% endfor %}
</tbody>
{% endfor %}
</table>
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}