{% extends 'emails/base.html.twig' %} {% block subject %} {%- autoescape false -%} Your daily digest for {{ 'now'|date(user.dateFormat) }}! {%- endautoescape -%} {% endblock %} {% block body_text %} {% autoescape false %} Here's what happened on Ledger today! {% for notification in notifications %} - {{ _self.disaply(user, notification, false)|spaceless }} {% endfor %} Thanks, Your friends at Ledger {% endautoescape %} {% endblock %} {% block body_html_content %}
{{ paragraph|raw }}
{% endfor %} {% endset %} {{ EUI.displayCard( icon, notification.creator, title|trim, EUI.displayCommentBody({ body: body|trim }), notification.createdAt|date(user.timeFormat|default('h:i A')) ) }} {% else %} {{ notification.createdAt|date(user.timeFormat)}}: {{ message|replace({ '__ACTOR__': actor, '__TYPE__': notification.type|title, '__OBJECT__': notification.object }) }} {{ redirectTo }} {% endif %} {% endmacro %}