{# Email Log Mobile Card Component #}
{# Header: Status #}

{{ item.recipient }}

{{ item.subject }}

{{ item.status|capitalize }}
{# Info Grid #}
Template
{{ item.templateName ?: '-' }}
Tentatives
{{ item.attemptCount }}
{% if item.status == 'sent' and item.sentAt %}
Envoyé le
{{ item.sentAt|date('d/m/Y à H:i:s') }}
{% endif %} {% if item.failureReason %}
Erreur
{{ item.failureReason }}
{% endif %}
{# Footer: Date + Actions #}
{{ item.createdAt|date('d/m/Y H:i:s') }}
{% if item.status == 'failed' %} {% endif %}