diff --git a/infrastructure/web/views/mail.twig b/infrastructure/web/views/mail.twig index 6931564..0738e4f 100644 --- a/infrastructure/web/views/mail.twig +++ b/infrastructure/web/views/mail.twig @@ -35,6 +35,20 @@ {% else %}
{% endif %} + {% if mail.attachments %} +
+ {% for attachment in mail.attachments %} + 📎 {{ attachment.filename }} + {# + Add actual button to download each file, inline. + Or even better. just an a href with filename. + very basic, like regular links look. maybe a paperclip icon + #} + {% endfor %} +
+ {% endif %} + +

{{ mail.from.text }} | {{ mail.date| date }}