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

38 lines
1 KiB
HTML

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