8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 19:33:11 +00:00

Merge des modifs de klafyzzly

This commit is contained in:
Gabriel Detraz 2018-07-10 16:57:20 +02:00
parent fa540ffa08
commit c77885aa9d

View file

@ -50,7 +50,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div class="panel panel-danger"> <div class="panel panel-danger">
<div class="panel-heading dashboard">Pas d'accès à internet</div> <div class="panel-heading dashboard">Pas d'accès à internet</div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<a class="btn btn-danger btn-sm" role="button" href="{% url 'cotisations:credit-solde' users.id %}"> <a class="btn btn-danger btn-sm" role="button" href="{% url 'cotisations:new-facture' users.id %}">
<i class="fas fa-sign-in-alt"></i> <i class="fas fa-sign-in-alt"></i>
Payer ma connexion Payer ma connexion
</a> </a>
@ -61,6 +61,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div class="panel-heading dashboard">Connecté</div> <div class="panel-heading dashboard">Connecté</div>
<div class="panel-body dashboard"> <div class="panel-body dashboard">
<i class="text-success">Fin de connexion: {{users.end_access|date:"d M Y"}}</i> <i class="text-success">Fin de connexion: {{users.end_access|date:"d M Y"}}</i>
<a class="btn btn-success btn-sm" role="button" href="{% url 'cotisations:new-facture' users.id %}">
<i class="fas fa-sign-in-alt"></i>
Prolonger</a>
</div> </div>
</div> </div>
{% endif %} {% endif %}
@ -71,7 +74,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div class="col-12"> <div class="col-12">
<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}} <i class="fas fa-euro-sign"></i> {{users.solde}} <i class="fas fa-euro-sign"></i>
</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 %}">
@ -355,20 +358,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% can_create Facture %} {% can_create Facture %}
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:new-facture' users.id %}"> <a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:new-facture' users.id %}">
<i class="fa fa-euro-sign"></i> <i class="fa fa-euro-sign"></i>
Ajouter une cotisation Cotiser
</a> </a>
{% if user_solde %} {% if user_solde %}
<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 %}">
<i class="fa fa-euro-sign"></i> <i class="fa fa-euro-sign"></i>
Modifier le solde Recharger le solde
</a> </a>
{% endif%}{% acl_else %} {% endif%}
{% if user_solde %}
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:new_facture_solde' user.id %}">
<i class="fa fa-euro-sign"></i>
Ajouter une cotisation par solde
</a>
{% endif %}
{% acl_end %} {% acl_end %}
</div> </div>
<div class="panel-body"> <div class="panel-body">