8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-13 05:16:27 +00:00

Fix couleurs du texte pour l'état 'actif'

This commit is contained in:
Hugo LEVY-FALK 2018-08-31 22:25:38 +02:00
parent ea78da87e0
commit ded8f89ba8

View file

@ -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 %}