|
|
@ -52,7 +52,7 @@ with this program; if not, write to the Free Software Foundation, Inc., |
|
|
{% elif not users.has_access %} |
|
|
{% elif not users.has_access %} |
|
|
<div class="panel panel-danger"> |
|
|
<div class="panel panel-danger"> |
|
|
<div class="panel-heading dashboard">{% trans "No connection" %}</div> |
|
|
<div class="panel-heading dashboard">{% trans "No connection" %}</div> |
|
|
<div class="panel-body dashboard"> |
|
|
<div class="panel-body dashboard"> |
|
|
{% can_create Facture %} |
|
|
{% can_create Facture %} |
|
|
<a class="btn btn-danger btn-sm" role="button" href="{% url 'cotisations:new-facture' 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> {% trans "Pay for a connection" %} |
|
|
<i class="fas fa-sign-in-alt"></i> {% trans "Pay for a connection" %} |
|
|
@ -211,9 +211,9 @@ with this program; if not, write to the Free Software Foundation, Inc., |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
<th>{% trans "State" %}</th> |
|
|
<th>{% trans "State" %}</th> |
|
|
{% if users.state == 0 %} |
|
|
{% if users.state == 0 %} |
|
|
<td><i class="text-warning">{% trans "Active" %}</i></td> |
|
|
<td><i class="text-success">{% trans "Active" %}</i></td> |
|
|
{% elif users.state == 1 %} |
|
|
{% elif users.state == 1 %} |
|
|
<td><i class="text-success">{% trans "Disabled" %}</i></td> |
|
|
<td><i class="text-warning">{% trans "Disabled" %}</i></td> |
|
|
{% elif users.state == 2 %} |
|
|
{% elif users.state == 2 %} |
|
|
<td><i class="text-danger">{% trans "Archived" %}</i></td> |
|
|
<td><i class="text-danger">{% trans "Archived" %}</i></td> |
|
|
{% elif users.state == 3 %} |
|
|
{% elif users.state == 3 %} |
|
|
|