{% extends "hosting/workspace_page.html" %} {% block title %}Mail queue · {{ mail_domain }}{% endblock %} {% block page_title %}Mail queue{% endblock %} {% block page_metadata %}

{{ mail_domain }}

{% endblock %} {% block page_actions %}
{% csrf_token %}
{% endblock %} {% block page_context %} ← {{ mail_domain.account.name }} {% endblock %} {% block page_content %}
{% if mail_domain.queue_requested_at and not mail_domain.queue_observed_at or mail_domain.queue_requested_at > mail_domain.queue_observed_at %}

Queue summary requested.

{% endif %} {% if mail_domain.queue_report.error %}

{{ mail_domain.queue_report.error }}

{% endif %} {% if mail_domain.queue_report.counts %}

Last checked {{ mail_domain.queue_observed_at }}

{% if mail_domain.queue_report.partial %}

Counts reflect a partial queue scan.

{% endif %}
{% for queue, count in mail_domain.queue_report.counts.items %}
{{ queue|capfirst }}
{{ count }}
{% endfor %}
{% elif not mail_domain.queue_requested_at %}

No queue summary yet.

{% endif %}
{% if mail_domain.queue_report.entries and request.user.is_superuser and request.user.is_verified %}
{% endif %} {% if operations %}
{% endif %}
{% endblock %}