{% extends "base.html" %} {% load url from future %} {% block title %}{{ block.super }} – Private messages: {{ action }}{% endblock title %} {% block content %}

Messages ({{ action }})

{% for pm in pms %}
{{ pm.subject }} {% ifequal action 'received' %} archive delete {% else %} DELETE delete {% endifequal %}
{{ pm.text }}
{% endfor %}
{% endblock content %}