datatracker/ietf/templates/nomcom/eligible.html
Lars Eggert 0f6b403904
fix: Fix "Is Accepting Feedback: yes" action for NomCom (#6467)
Fixes #6466

While I'm here, apply list styling more consistently across NomCom pages.
2023-10-12 06:15:14 -05:00

41 lines
1.6 KiB
HTML

{% extends public|yesno:"nomcom/nomcom_public_base.html,nomcom/nomcom_private_base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 textfilters person_filters %}
{% load static %}
{% block subtitle %}- Eligible People{% endblock %}
{% block nomcom_content %}
{% origin %}
<h2>Eligible People for {{ nomcom.group }}</h2>
<table class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th scope="col"></th>
<th scope="col" data-sort="last">Last name</th>
<th scope="col" data-sort="first">First name</th>
<th scope="col" data-sort="plain">Plain name</th>
<th scope="col" data-sort="page">Profile page</th>
<th scope="col" data-sort="email">Email addresses</th>
</tr>
</thead>
{% if eligible_persons %}
<tbody>
{% for p in eligible_persons %}
<tr>
<td>{{ forloop.counter }}</td>
<td>{{ p.last_name }}</td>
<td>{{ p.first_name }}</td>
<td>{{ p.ascii_name }}</td>
<td>{% person_link p %}</td>
<td>
{% for e in p.email_set.all %}
{{ e.address|linkify }}{% if not forloop.last %},{% endif %}
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
{% endif %}
</table>
}
{% endblock %}