{% extends "outreach/admin/base.html" %} {% load i18n static %} {% block extrahead %} {{ block.super }} {% endblock %} {% block bodyclass %}{{ block.super }} app-{{ opts.app_label }} model-{{ opts.model_name }} preview{% endblock %} {% block head %} {% with recipient_count=plan.recipients|length %}
{% csrf_token %} {% include "outreach/admin/includes/selection_hidden_fields.html" with action_name="send_mail" %} {% include "outreach/admin/includes/mail_message_fields.html" %}

{% blocktrans with current=2 total=2 %}Step {{ current }} of {{ total }}{% endblocktrans %}

{% trans "Check and send" %}

{% blocktrans count counter=recipient_count %}This is what the recipient will get, with their own details filled in.{% plural %}This is what each of the {{ counter }} recipients will get, with their own details filled in.{% endblocktrans %}

{% blocktrans with language=language_label %}Mail language: {{ language }}.{% endblocktrans %}

{% if send_at %}

{% blocktrans with when=send_at|date:"DATETIME_FORMAT" %}It will go out on {{ when }}{% endblocktrans %}

{% endif %}

{% blocktrans with name=preview_prospect.display_name %}A test goes to your own address only, with the details of {{ name }}.{% endblocktrans %}{% if form.is_newsletter.value %} {% trans "Its unsubscribe link does nothing." %}{% endif %}

{% endwith %} {% endblock %} {% block content %}
{% csrf_token %} {% include "outreach/admin/includes/selection_hidden_fields.html" with action_name="send_mail" %} {% include "outreach/admin/includes/mail_message_fields.html" %}
{% trans "To:" %} {{ preview_prospect.email }}
{{ preview_subject }}
{% endblock %}