Display balance on user page.

This commit is contained in:
Hugo LEVY-FALK 2018-12-14 23:29:55 +01:00
parent 66552dfaec
commit 56c0818a1e

View file

@ -2,6 +2,7 @@
{% block content %}
<h2>{{ account.firstname}} {{ account.lastname }}</h2>
<h3>Solde: {{ account.balance }}€</h3>
<a href="mailto:{{ account.email }}">{{account.email}}</a>
<hr/>
<a class="button" href="{% url 'reset' account.pk %}">Remettre le solde à 0</a>