{% extends '@IGACoreBundle/layout.html.twig' %} {% block title %}{{ 'Message'|phrase|lower|capitalize }} {{ message.subject }}{% endblock title %} {% block head_style %} {{ parent() }} {% endblock head_style %} {% block page_header_h1 %}{{ 'Show Message'|phrase|lower|capitalize }}{% endblock page_header_h1 %} {% block content %}
 
{{ 'Send Again'|phrase }}

 

{% if pagination|length > 0 %} {% for recipient in pagination %} {% endfor %}
{{ knp_pagination_sortable(pagination, 'To Name'|phrase, 'mr.to_name') }} {{ knp_pagination_sortable(pagination, 'To E-Mail'|phrase, 'mr.to_e_mail') }} {{ knp_pagination_sortable(pagination, 'Date Sent'|phrase, 'mr.date_sent') }} {{ 'Stats'|phrase }}
{{ recipient.toName }} {{ recipient.toEMail }} {{ recipient.dateSent.format('d F Y H:i:s') }} {{ 'Read'|phrase }}: {{ recipient.isRead|yes_no }} - {{ recipient.readDateString }}
{{ 'Unsubscribed'|phrase }}: {{ recipient.unsubscribed|yes_no }} - {{ recipient.unsubscribedDateString }}
{{ 'Errors'|phrase }}: {{ recipient.messageError|length }}
{% if recipient.messageError|length > 0 %} {% for error in recipient.messageError %} {{ error.createdAt.format('d F Y H:i:s') }}: {{ error.text }} {% endfor %} {% endif %}
{% else %}
{{ 'No message recipients found' }}
{% endif %}

 

{{ 'From'|phrase }}:
{{ message.fromName }} <{{ message.fromEMail }}>
{{ 'Subject'|phrase }}:
{{ message.subject }}
{{ 'Date to be Sent'|phrase }}:
{{ message.dateToBeSent.format('j F Y H:i:s') }}
{{ 'Created by'|phrase }}:
{{ createdByUser.fullNameString }}
{{ 'Created at'|phrase }}:
{{ message.createdAt.format('j F Y H:i:s') }}
{{ message.html|raw }}
{% endblock content %}