{% extends 'base.html.twig' %} {% block title %}Hello MainController!{% endblock %} {% block body %}

{{ app.user.username }}'s fap history


{% block fap_statistics_container %}
total: {{ app.user.entries|length }}
{% for entry in app.user.entries %}
{{ entry.dateAt|date('Y-m-d H:i:s') }} (delete)
{% endfor %}
{% if is_granted('ROLE_CREATE_REGISTRATION_TOKEN') %}
registation tokens {% for token in app.user.createdRegistrationTokens %}
{{ token.createdAt|date('Y-m-d H:i:s') }} | {{ token.id }} {# (delete) #}
{% else %} There's no tokens {% endfor %}
{% endif %}
{% endblock %}
logout {% if is_granted('ROLE_CREATE_REGISTRATION_TOKEN') %} create invite {% endif %}
{% endblock body %}