{% extends '@MauticCore/Default/content.html.twig' %} {% block mauticContent 'emailSend' %} {% block headerTitle 'mautic.email.send.list'|trans({'%name%': email.name})|purify %} {% set percent = (progress[1]) ? ((progress[0] / progress[1]) * 100)|round : 100 %} {% set id = ('inprogress' != status) ? 'emailSendProgressComplete' : 'emailSendProgress' %} {% block content %}

{{ ('mautic.email.send.' ~ status)|trans({ '%subject%' : email.getSubject() })|purify }}

{% if 'inprogress' != status %}

{{ 'mautic.email.send.stats'|trans({'%sent%': stats.sent, '%failed%': stats.failed}) }}

{% endif %}
{{ percent }}%
{% if stats.failedRecipients is not empty %} {% endif %}
{% if 'inprogress' == status %} {% include '@MauticCore/Helper/button.html.twig' with { buttons: [ { label: 'mautic.email.send.exit_screen'|trans, variant: 'link', icon: 'ri-information-line', attributes: { 'data-toggle': 'popover', 'data-content': 'mautic.email.send.help_subheading_leaving'|trans, 'data-placement': 'bottom', 'data-container': 'body', 'data-title': 'mautic.email.send.help_heading_leaving'|trans, } } ] } %} {% endif %}
{% endblock %}