{% extends 'pretixcontrol/event/base.html' %} {% load i18n %} {% load static %} {% load bootstrap3 %} {% block title %}{% trans "Update Email Rule" %}{% endblock %} {% block content %}

{% trans "Update Email Rule" %}

{% block inner %}
{% csrf_token %} {% bootstrap_form_errors form %} {% if rule.total_mails == rule.sent_mails %}
{% if event.has_subevents %} {% trans "This email has already been sent for all existing dates. Changing it will have no effect unless you create additional dates in this event series." %} {% else %} {% trans "This email has already been sent. Changing it will have no effect." %} {% endif %}
{% elif rule.total_mails > 0 and event.has_subevents %}
{% trans "This email has already been sent for some of the dates in your series. Changing it will only have an effect on dates for which the email has not yet been sent." %}
{% endif %} {% bootstrap_field form.enabled layout='control' %}
{% trans "Content" %} {% bootstrap_field form.subject layout='control' %} {% bootstrap_field form.template layout='control' %}
{% trans "Recipients" %} {% bootstrap_field form.send_to layout='control' %} {% bootstrap_field form.include_pending layout='control' %} {% bootstrap_field form.all_products layout='control' %} {% bootstrap_field form.limit_products layout='horizontal' %}
{% trans "Time" %} {% bootstrap_field form.schedule_type layout='horizontal' %} {% bootstrap_field form.send_date layout='horizontal' %} {% bootstrap_field form.send_offset_days layout='horizontal' %} {% bootstrap_field form.send_offset_time layout='horizontal' %}
{% blocktrans trimmed %} For technical reasons, the email might actually be sent a bit later than your configured date. Typically, this will not be more than 10 minutes. Your email will never be sent earlier than the time you configured. {% endblocktrans %}
{% trans "E-mail preview" %}
{% for locale, out in output.items %}
{{ out.subject|safe }}

{{ out.html|safe }}
{% endfor %}
{% endblock %} {% endblock %}