datatracker/ietf/templates/meeting/proceedings_attendees.html
Robert Sparks c1627ed011
fix: restore attendee dbtemplate for old meetings pending data correction (#6656)
* fix: restore attendee dbtemplate for old meetings pending data correction

* test: adjust attendees test to match workaround
2023-11-17 10:01:09 -06:00

47 lines
1.6 KiB
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin markup_tags static %}
{% block pagehead %}
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
{% endblock %}
{% block title %}IETF {{ meeting.number }} proceedings{% endblock %}
{% block content %}
{% origin %}
<h1>
<a class="text-decoration-none text-reset"
href="{% url 'ietf.meeting.views.proceedings' num=meeting.number %}">
IETF {{ meeting.number }} proceedings
</a>
</h1>
<h2>Attendee list of IETF {{ meeting.number }} meeting</h2>
{% if template %}
{{template|safe}}
{% else %}
<table id="id_attendees" class="table table-sm table-striped tablesorter">
<thead>
<tr>
<th scope="col" data-sort="last">Last Name</th>
<th scope="col" data-sort="first">First Name</th>
<th scope="col" data-sort="organization">Organization</th>
<th scope="col" data-sort="country">Country</th>
<th scope="col" data-sort="type">Registration Type</th>
</tr>
</thead>
<tbody>
{% for reg in meeting_registrations %}
<tr>
<td>{{ reg.last_name }}</td>
<td>{{ reg.first_name }}</td>
<td>{{ reg.affiliation }}</td>
<td>{{ reg.country_code }}</td>
<td>{{ reg.reg_type }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}