8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-24 16:03:47 +00:00

Vu profil d'un autre user et solde correct

This commit is contained in:
grisel-davy 2018-08-10 13:05:13 +02:00 committed by chirac
parent 8aefc37eca
commit 5f4affd8ec

View file

@ -32,7 +32,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %}
<div align="center">
{% if user == users %}
<h2>Welcome {{ users.name }} {{ users.surname }}</h2>
{% else %}
<h2>Profil de {{ users.name }} {{ users.surname }}</h2>
{% endif %}
</div>
<div class="dashboard_container">
<div class="row">
@ -70,7 +74,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div class="col-sm-6 col-md-4">
<div class="panel panel-info">
<div class="panel-heading dashboard" data-parent="#accordion" data-toggle="collapse" data-target="#collapse4">
€ {{ user.solde }}
€ {{ users.solde }}
</div>
<div class="panel-body dashboard">
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}">