datatracker/ietf/templates/mailtoken/token.html
2015-08-09 20:11:26 +00:00

35 lines
965 B
HTML

{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% block title %}Mail Events{% endblock %}
{% block content %}
{% origin %}
<h1>Mail Events</h1>
<table class="table table-condensed table-striped">
<thead>
<tr>
<th>Event</th>
<th>Recipients</th>
</tr>
</thead>
<tbody>
{% for mailtoken in mailtokens %}
<tr>
<td><span title="{{mailtoken.desc}}">{{mailtoken.slug}}</span></td>
<td>
{% for recipient in mailtoken.recipients.all %}
{% comment %}<span title="{{recipient.desc}}">{{recipient.slug}}</span>{% endcomment %}
<a href="{% url 'ietf.mailtoken.views.show_recipients' recipient.slug %}" title="{{recipient.desc}}">{{recipient.slug}}</a>{% if not forloop.last %}, {% endif %}
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}