mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
Fix couleurs du texte pour l'état 'actif'
This commit is contained in:
parent
ea78da87e0
commit
ded8f89ba8
1 changed files with 3 additions and 3 deletions
|
@ -52,7 +52,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
{% elif not users.has_access %}
|
||||
<div class="panel panel-danger">
|
||||
<div class="panel-heading dashboard">{% trans "No connection" %}</div>
|
||||
<div class="panel-body dashboard">
|
||||
<div class="panel-body dashboard">
|
||||
{% can_create Facture %}
|
||||
<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" %}
|
||||
|
@ -211,9 +211,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
{% endif %}
|
||||
<th>{% trans "State" %}</th>
|
||||
{% 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 %}
|
||||
<td><i class="text-success">{% trans "Disabled" %}</i></td>
|
||||
<td><i class="text-warning">{% trans "Disabled" %}</i></td>
|
||||
{% elif users.state == 2 %}
|
||||
<td><i class="text-danger">{% trans "Archived" %}</i></td>
|
||||
{% elif users.state == 3 %}
|
||||
|
|
Loading…
Reference in a new issue