|
|
|
@ -42,6 +42,7 @@ with this program; if not, write to the Free Software Foundation, Inc., |
|
|
|
<th>{% trans "Details" %}</th> |
|
|
|
<th>{% trans "End of subscription on" %}</th> |
|
|
|
<th>{% trans "Internet access" %}</th> |
|
|
|
<th>{% trans "Action" %}</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
{% for room in room_list %} |
|
|
|
@ -51,7 +52,7 @@ 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.adherent %}<a href="{% url 'users:profil' room.adherent.id%}">{{ room.adherent }}</a>{% else %} {% trans "Aucun" %}{% endif %}</td> |
|
|
|
<td>{{ room.details }}</td> |
|
|
|
<td>{% if room.adherent.is_adherent %}{{ room.adherent.end_adhesion }}{% else %}{% trans "Not a member" %}{% endif %}</td> |
|
|
|
<td>{% if room.adherent.is_adherent %}<i class="text-success">{% else %}<i class="text-danger">{% endif %}{% if room.adherent.end_adhesion %}{{ room.adherent.end_adhesion}}{% else %}{% trans "No member" %}{% endif %}</i></td> |
|
|
|
<td> |
|
|
|
{% if room.adherent.has_access == True %} |
|
|
|
<i class="text-success">{% trans "Active" %}</i> |
|
|
|
@ -59,6 +60,11 @@ with this program; if not, write to the Free Software Foundation, Inc., |
|
|
|
<i class="text-danger">{% trans "Disabled" %}</i> |
|
|
|
{% endif %} |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
{% if room.port_set.all %} |
|
|
|
<a href="{% url 'multi_op:disconnect-room' room.id %}" class="btn btn-danger btn-sm" role="button"><i class="fa fa-expand"></i></a> |
|
|
|
{% endif %} |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
{% endfor %} |
|
|
|
</table> |
|
|
|
|