55 lines
2.3 KiB
HTML
55 lines
2.3 KiB
HTML
{# bs5ok #}
|
|
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin static %}
|
|
{% block pagehead %}
|
|
<link rel="stylesheet" href="{% static "ietf/css/list.css" %}">
|
|
{% endblock %}
|
|
{% block title %}Mail triggers{% endblock %}
|
|
{% block content %}
|
|
{% origin %}
|
|
<h1>Mail triggers</h1>
|
|
<table class="table table-sm table-striped tablesorter">
|
|
<thead>
|
|
<tr>
|
|
<th data-sort="trigger">Trigger</th>
|
|
<th data-sort="to">Recipients (To)</th>
|
|
<th data-sort="cc">Recipients (CC)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for mailtrigger in mailtriggers %}
|
|
<tr>
|
|
<td>
|
|
<span title="{{ mailtrigger.desc }}">{{ mailtrigger.slug }}</span>
|
|
</td>
|
|
<td>
|
|
{% for recipient in mailtrigger.to.all %}
|
|
{% comment %}<span title="{{recipient.desc}}">{{recipient.slug}}</span>{% endcomment %}
|
|
<a href="{% url 'ietf.mailtrigger.views.show_recipients' recipient.slug %}"
|
|
title="{{ recipient.desc }}">
|
|
{{ recipient.slug }}
|
|
</a>
|
|
{% if not forloop.last %},{% endif %}
|
|
{% endfor %}
|
|
</td>
|
|
<td>
|
|
{% if mailtrigger.cc.exists %}
|
|
{% for recipient in mailtrigger.cc.all %}
|
|
{% comment %}<span title="{{recipient.desc}}">{{recipient.slug}}</span>{% endcomment %}
|
|
<a href="{% url 'ietf.mailtrigger.views.show_recipients' recipient.slug %}"
|
|
title="{{ recipient.desc }}">
|
|
{{ recipient.slug }}
|
|
</a>
|
|
{% if not forloop.last %},{% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|
|
{% block js %}
|
|
<script src="{% static "ietf/js/list.js" %}"></script>
|
|
{% endblock %} |