mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-25 08:23:46 +00:00
Vu profil d'un autre user et solde correct
This commit is contained in:
parent
8aefc37eca
commit
5f4affd8ec
1 changed files with 6 additions and 2 deletions
|
@ -32,7 +32,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
{% if user == users %}
|
||||||
<h2>Welcome {{ users.name }} {{ users.surname }}</h2>
|
<h2>Welcome {{ users.name }} {{ users.surname }}</h2>
|
||||||
|
{% else %}
|
||||||
|
<h2>Profil de {{ users.name }} {{ users.surname }}</h2>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="dashboard_container">
|
<div class="dashboard_container">
|
||||||
<div class="row">
|
<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="col-sm-6 col-md-4">
|
||||||
<div class="panel panel-info">
|
<div class="panel panel-info">
|
||||||
<div class="panel-heading dashboard" data-parent="#accordion" data-toggle="collapse" data-target="#collapse4">
|
<div class="panel-heading dashboard" data-parent="#accordion" data-toggle="collapse" data-target="#collapse4">
|
||||||
€ {{ user.solde }}
|
€ {{ users.solde }}
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body dashboard">
|
<div class="panel-body dashboard">
|
||||||
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}">
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}">
|
||||||
|
|
Loading…
Reference in a new issue