datatracker/ietf/secr/templates/includes/search_results_table.html

20 lines
637 B
HTML

<table class="full-width">
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Email</th>
<th scope="col">ID</th>
</tr>
</thead>
{% if results %}
<tbody>
{% for item in results %}
<tr class="{% cycle 'row1' 'row2' %}">
<td><a href="{% url 'ietf.secr.rolodex.views.view' id=item.person.id %}">{{item.name}}</a></td>
<td>{{item.person.email_address}}</td>
<td>{{item.person.id}}</a></td>
</tr>
{% endfor %}
</tbody>
{% endif %}
</table>