mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +00:00
Fix bug affichage
This commit is contained in:
parent
051ec84f6e
commit
8a41a1af60
1 changed files with 2 additions and 2 deletions
|
@ -51,9 +51,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
<td>{% if room.port_set.all %}<span class="label label-success">AURORE{% else %}<span class="label label-danger">{% trans "Other operator" %}{% endif %}</span></td>
|
<td>{% if room.port_set.all %}<span class="label label-success">AURORE{% else %}<span class="label label-danger">{% trans "Other operator" %}{% endif %}</span></td>
|
||||||
<td>{% if room.adherent %}<a href="{% url 'users:profil' room.adherent.id%}">{{ room.adherent }}</a>{% else %} {% trans "Aucun" %}{% endif %}</td>
|
<td>{% if room.adherent %}<a href="{% url 'users:profil' room.adherent.id%}">{{ room.adherent }}</a>{% else %} {% trans "Aucun" %}{% endif %}</td>
|
||||||
<td>{{ room.details }}</td>
|
<td>{{ room.details }}</td>
|
||||||
<td>{% if room.user.is_adherent %}{{ room.user.end_adhesion }}{% else %}{% trans "Not a member" %}{% endif %}</td>
|
<td>{% if room.adherent.is_adherent %}{{ room.adherent.end_adhesion }}{% else %}{% trans "Not a member" %}{% endif %}</td>
|
||||||
<td>
|
<td>
|
||||||
{% if room.user.has_access == True %}
|
{% if room.adherent.has_access == True %}
|
||||||
<i class="text-success">{% trans "Active" %}</i>
|
<i class="text-success">{% trans "Active" %}</i>
|
||||||
{% else %}
|
{% else %}
|
||||||
<i class="text-danger">{% trans "Disabled" %}</i>
|
<i class="text-danger">{% trans "Disabled" %}</i>
|
||||||
|
|
Loading…
Reference in a new issue