{% extends "admin/change_list.html" %} {% load i18n %} {% load Settings %} {% block bodyclass %}change-list historic{% endblock %} {% block breadcrumbs %} {% if not is_popup %} {% endif %} {% endblock %} {% block content %}
{% for event in original.contactmailingstatus_set.all %} {% endfor %}
{% trans "Date" %} {% trans "Contact" %} {% trans "Action" %}
{{ event.creation_date|date:"d F Y, H:i" }} {{ event.contact.mail_format }} {% comment %} # FIXME: Use Contactmailingstatus.ERROR rather then 1. Show link to error details page if needed. ERROR = 1 BOUNCED = 8 COMPLAINT = 9 REJECTED = 10 {% endcomment %} {% if event.status == 1 or event.status == 8 or event.status == 9 or event.status == 10 %}
{% csrf_token %} {{ event.get_status_display }}
{% else %} {{ event.get_status_display }} {% if event.link %}{{ event.link.url|urlize }}{% endif %} {% endif %}
{% settings INSTALLED_APPS as installedApps %} {% if 'Theophrastus.cloud' in installedApps %}
{% csrf_token %} {% if 'Theophrastus.statistics' in installedApps %} {% endif %}
{% endif %}

{{ sendConfirm }}

{{ information }}

{% endblock %}