{% load i18n json %}
{% with errors=simulation.data.errors %} {% if errors %}
{% translate "Simulation failed" %}
{% endif %} {% endwith %}
{% translate "Recipients" %}
{% translate "Notifications" %}
{% translate "Channels" %}
{{ simulation.data.recipients_count }}
{{ simulation.data.notifications|length }}
{{ simulation.data.channels|length }}
{% if missing_deliveries %}
{% translate "Recipients without a message template were skipped:" %}
{% endif %} {% if page_obj.object_list %} {% if mode == "full" or mode == "partial" %} {% endif %} {% for d in page_obj.object_list %} {% if mode == "full" or mode == "partial" %} {% endif %} {% endfor %}
{% translate "Address" %} {% translate "User" %} {% translate "Channel" %} {% translate "Notification" %} {% translate "Message template" %} {% translate "Preview" %}
{{ d.assignment.address.value }} {{ d.assignment.address.user.username }} {{ d.assignment.channel.name }} {{ d.notification.name }} {% if d.message_template_id %} {{ d.message_template.name }} {% else %} {% translate "missing" %} {% endif %} {% if d.rendered %} {% translate "view" %} {% else %} - {% endif %}
{% if partial_more %}
{% blocktranslate %}{{ partial_more }} more recipients are not rendered{% endblocktranslate %}
{% endif %} {% else %}
{% translate "No recipients found. Check the payload filter, policy or filters configuration." %}
{% endif %}