{% extends 'game/admin/base.html.twig' %} {% block title %}Session #{{ session.id }} logs — Admin{% endblock %} {% block admin_body %}
← Sessions

{{ session.game.name }} — Session #{{ session.id }}

{{ session.status.value }} · {{ session.players|length }} player(s) · Created {{ session.created|date('Y-m-d H:i') }}

{% if playersLogs is empty %}
No players in this session.
{% else %} {# Tab buttons #}
{% for playerLog in playersLogs %} {% endfor %}
{# Tab content #} {% for playerLog in playersLogs %}
{{ playerLog.logs ?: 'No logs found for this player.' }}
{% endfor %} {% endif %} {% endblock %}