{% load wagtailadmin_tags %}
Status: {{ campaign.status }}
{% if report %} {% if report.send_time %}Send time: {{ report.send_time }} ({{ report.send_time|timesince }} ago).
{% endif %}Emails sent: {{ report.emails_sent }} ({{ report.bounces }} bounces)
Opens: {{ report.opens }}
Clicks: {{ report.clicks }}
{% endif %} {% endblock %} {% else %}{% fragment as save_dialog_subtitle %} This action will save a new draft page revision and save the newsletter campaign to {{ backend_name }} with your changes. {% endfragment %} {% dialog icon_name="mail" id="wn-save-dialog" title="Save campaign" dialog_root_selector="[data-edit-form]" subtitle=save_dialog_subtitle %} {% enddialog %} {% fragment as test_dialog_subtitle %} This action will save a new draft page revision and send a test email with your changes. {% endfragment %} {% dialog icon_name="mail" id="wn-test-dialog" title="Send test email" dialog_root_selector="[data-edit-form]" subtitle=test_dialog_subtitle %}
You must first select recipients for the newsletter.
{% icon name="link-external" classname="w-w-4 w-h-4" %} Open campaign in {{ backend_name }}
{% endif %}