2024-07-16 13:05:15 +02:00
|
|
|
{% extends 'account/base.html.twig' %}
|
|
|
|
|
|
|
|
{% block title %}Votre compte{% endblock %}
|
|
|
|
|
|
|
|
{% block account_body %}
|
|
|
|
|
|
|
|
<div id="account_home">
|
|
|
|
|
|
|
|
<h1>
|
|
|
|
Tableau de bord
|
|
|
|
</h1>
|
2024-07-16 17:10:43 +02:00
|
|
|
<a class="todo" href="{{ path('app_account') }}">modifier mes informations</a>
|
|
|
|
<a class="todo" href="{{ path('app_account') }}">changer de mot de passe</a>
|
2024-07-16 13:05:15 +02:00
|
|
|
<p>
|
|
|
|
Coucou {{ app.user.email }}!
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Votre description:
|
|
|
|
{{ app.user.description }}
|
|
|
|
</p>
|
2024-07-16 17:08:22 +02:00
|
|
|
<div class="current">
|
|
|
|
Festival en cours: {{ currentFestival }}
|
|
|
|
</div>
|
|
|
|
<div class="data">
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
Produits
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ productsOfOwner|length }}
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
Ventes
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ productsSoldOfOwner|length }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2024-07-16 13:05:15 +02:00
|
|
|
|
|
|
|
<footer>
|
|
|
|
<p>
|
|
|
|
<a href="{{ path('app_logout') }}">Logout</a>
|
|
|
|
</p>
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock account_body %}
|