{% load cache %} {% load cachalot cache %} {% get_last_invalidation 'core.QueuedMessage' as last %} {% include 'mixins/partials/notify.html' %} {% cache 600 objects_queue request.user.id object_list type last %}

Outgoing Queue

Review queued drafts and approve or reject each message.

{{ object_list|length }} pending
{% if object_list %}
{% for item in object_list %}

{{ item.session.identifier.person.name }}

{{ item.session.identifier.service|title }} {{ item.manipulation.name }} {{ item.ts }}

{{ item.text|default:"(empty draft)" }}

Queue ID: {{ item.id }}
{% endfor %}
{% else %}

Queue is empty.

{% endif %}
{% endcache %}