{% extends "::base.html.twig" %} {% block header_title %}{{ user.login }} @ Point Tools{% endblock %} {% block content %}

{# TODO: Add class with image size #} {{ user.login }} {% if not user.public %}{% endif %} {% if user.whitelistOnly %}{% endif %}

{% if user.removed %} {% endif %}
{% if subscribers|length > 0 %}
{% else %} {% endif %}
{% if rename_log|length > 0 %}
{% for event in rename_log %} {% endfor %}
{{ 'Date'|trans }} {{ 'Old login'|trans }}
{# @todo Use DateTime helper: https://sonata-project.org/bundles/intl/master/doc/reference/datetime.html #} {{ event.date|date('d F Y H:i:s') }} {{ event.oldLogin }}
{% else %} {% endif %}

{{ 'Subscriptions log'|trans }}

{% if subscriptions_log|length > 0 %} {% for event in subscriptions_log %} {% endfor %}
{{ 'User'|trans }} {{ 'Action'|trans }} {{ 'Date'|trans }}
@{{ event.subscriber.login }} {# @todo 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 %}