12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- {% extends 'bulma.html.twig' %}
- {% block title %}Mes parties{% endblock %}
- {% block content %}
- <nav class="breadcrumb has-arrow-separator" aria-label="breadcrumbs">
- <ul>
- <li><a href="{{ path('app_main') }}">Accueil</a></li>
- <li class="is-active"><a href="{{ path('app_profile_participations') }}">Mes parties</a></li>
- </ul>
- </nav>
- <div class="tabs is-boxed">
- <ul>
- <li><a href="{{ path('app_profile_participations') }}">En tant que joueur(euse)</a></li>
- {% if app.user.linkToGamemaster %}
- <li class="is-active"><a>En tant que meneur(euse) de jeu</a></li>
- {% endif %}
- <li><a>Mes demandes</a></li>
- </ul>
- </div>
- <div class="block">
- <table id="datatable" {{ stimulus_controller('datatables') }} class="table is-striped is-hoverable is-fullwidth">
- <thead>
- <tr>
- <th>Événement</th>
- <th>Jeu</th>
- <th>Date et heure</th>
- <th>Participants</th>
- <th>Action</th>
- </tr>
- </thead>
- <tbody>
- {% for participation in participations %}
- <tr>
- <th>{{ participation.event.name }}</th>
- <td>{{ participation.game.name }}</td>
- <td>{{ participation.startOn|date('d/m/y H:i', app_timezone) }}</td>
- <td>{{ participation.getSeatsOccuped }} / {{ participation.getMaxParticipants }}</td>
- <td>
-
- </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- </div>
- {% endblock %}
|