caisse-bliss/templates/account/index.html.twig

57 lines
1.3 KiB
Twig

{% extends 'account/base.html.twig' %}
{% block title %}Votre compte{% endblock %}
{% block account_body %}
<div id="account_home">
<h1>
Tableau de bord
</h1>
<a class="todo" href="{{ path('app_account') }}">modifier mes informations</a>
<a class="todo" href="{{ path('app_account') }}">changer de mot de passe</a>
<p>
Coucou {{ app.user.email }}!
</p>
<p>
Votre description:
{{ app.user.description }}
</p>
<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>
<footer>
<p>
<a href="{{ path('app_logout') }}">Logout</a>
</p>
</footer>
</div>
</div>
{% endblock account_body %}