{% extends 'modal.html.twig' %} {% block title %}{{ gamemaster.preferedName }}{% endblock %} {% block content %}

{% if gamemaster.picture %} {% else %} {% endif %}

{{ gamemaster.description }}

{% if gamemaster.isAuthor %}

Je suis auteur(rice) des jeux suivants :
{{ gamemaster.authorOfGames|map(game => game.name)|join(', ') }}

{% endif %} {% if is_granted('ROLE_MANAGER') %}

Je peux animer des parties des jeux suivants :
{# TODO: limiter aux jeux dispo dans l'événement #} {{ gamemaster.gamesCanMaster |map(game => game.name) |join(', ') }}

{% endif %}
{% if is_granted('ROLE_MANAGER') or is_granted('ROLE_ADMIN') %}
{% if gamemaster.phone %}
Appel
SMS
{% endif %}
Mail
{% endif %} {% endblock %}