{% extends 'django_outbox/base.html' %} {% block content %} {% if mails %} {% for mail in mails %} {% endfor %}
subject from to when
{{ mail.subject }} {% for content_type in mail.body %} {{ content_type }} {% endfor %} {{ mail.from_address }} {{ mail.to }} {{ mail.when }}
{% else %}
Outbox is empty.
{% endif %} {% endblock content %}