Display balance on user page.
This commit is contained in:
parent
66552dfaec
commit
56c0818a1e
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h2>{{ account.firstname}} {{ account.lastname }}</h2>
|
<h2>{{ account.firstname}} {{ account.lastname }}</h2>
|
||||||
|
<h3>Solde: {{ account.balance }}€</h3>
|
||||||
<a href="mailto:{{ account.email }}">{{account.email}}</a>
|
<a href="mailto:{{ account.email }}">{{account.email}}</a>
|
||||||
<hr/>
|
<hr/>
|
||||||
<a class="button" href="{% url 'reset' account.pk %}">Remettre le solde à 0</a>
|
<a class="button" href="{% url 'reset' account.pk %}">Remettre le solde à 0</a>
|
||||||
|
|
Loading…
Reference in a new issue