{% extends 'Web/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 %}
{{ 'User was removed from Point.im. It could be caused by Terms of Service violation.'|trans }}
{% endif %}
{% if subscribers|length > 0 %}
{% else %}
{{ 'No subscribers data found'|trans }}
{% endif %}
{% if rename_log|length > 0 %}
{{ 'Date'|trans }} |
{{ 'Old login'|trans }} |
{% for event in rename_log %}
{# @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 }}
|
{% endfor %}
{% else %}
{{ 'No rename log data found'|trans }}
{% endif %}
{{ 'Subscriptions log'|trans }}
{% if subscriptions_log|length > 0 %}
{{ 'User'|trans }} |
{{ 'Action'|trans }} |
{{ 'Date'|trans }} |
{% for event in subscriptions_log %}
@{{ 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') }}
|
{% endfor %}
{% else %}
{{ 'No subscribers log data found'|trans }}
{% endif %}
{{ knp_pagination_render(subscriptions_log) }}
{% endblock %}