{% extends "::base.html.twig" %} {% block content %} {# TODO classes #}
{% if last_events|length > 0 %}
{% for event in last_events %} {% endfor %}
{{ 'Subscriber'|trans }} {{ 'Author'|trans }} {{ 'Action'|trans }} {{ 'Date'|trans }}
@{{ event.subscriber.login }} @{{ event.author.login }} {# Use DateTime helper: https://sonata-project.org/bundles/intl/master/doc/reference/datetime.html #} {{ event.date|date('d F Y H:i:s') }}
{% else %} {% endif %}
{% endblock %}