{% extends 'admin/master.html' %} {% block body %}
| {{ _("Key") }} | {{ model.store_key }} | ||||||
| Message-Id | {{ model.message_id|safe }} | ||||||
| {{ _("Sent date") }} | {{ model.sent|datetimeformat(format='full') }} | ||||||
| {{ _("Received Date") }} | {{ model.received|datetimeformat(format='full') }} | ||||||
| {{ _("Subject") }} | {{ model.subject|safe }} | ||||||
| {{ _("Sender") }} | {{ model.sender }} | ||||||
| {{ _("Recipients") }} |
{% if model.rcpt_count == 1 %}
{{ model.rcpt.0 }}
{% else %}
|
||||||
| {{ _("Size") }} | {{ model.size|filesizeformat }} | ||||||
| {{ _("From IP Address") }} | {{ model.client_address }} | ||||||
| {{ _("Country") }} | {{ country_name(model.country) }} | ||||||
| {{ _("Files") }} ({{model.files_count}}) |
{% if model.files_count == 0 %}
{% else %}
|
||||||
| {{ _("Parsing Errors") }} |
{% for error in model.parsing_errors %}
{{error}} {% endfor %} |
| {{ name }} | {{ value }} |
{{ email.body|safe }}
{% else %}
{% for part in email.parts %}
{% if part.is_body() %}
{# and part.content_type.value in ['text/plain', 'text/html'] #}
{{ part.body }}
{% elif part.detected_file_name %}