Source

django-email-notification / notification / templates / notification / notification_list.html

{% extends "base.html" %}
{% load url from future %}
{% load i18n %}
{% block page_title %}{% endblock %}

{% block extra_header %}
{% endblock %}

{% block content %}

<h1 class="title">{% trans "Notifications" %}</h1>

<table>
     <thead><tr>
     <th>{% trans "Date" %}</th>
     <th>{% trans "Sent" %}</th>
     <th>{% trans "Title" %}</th>
     <th>{% trans "Recipients" %}</th>
     </tr></thead>
<tbody>
     {% for notification in notifications %}
     <tr>
     <td><a href="{% url 'edit_notification' notification.id %}">{{ notification.creation_date }}</a></td>
     <td>{% if notification.sent %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %}</td>
     <td>{{ notification.subject }}</td>
     <td>{{ notification.all_recipients|length }}</td>
     </tr>
     {% endfor %}
</tbody>
</table>

{% endblock %}