{% block sidebar %}
{% endblock %}
{# Display django.contrib.messages as Bootstrap alerts #}
{% bootstrap_messages %}
{% block content %}{% endblock %}
{% block content %}{% endblock %}
{% if request_user.is_authenticated %}
{% else %}
{% if request_user.is_authenticated %}
{{ request_user.name }} {{ request_user.surname }}
Pseudo | {{ request_user.pseudo }} |
---|---|
Chambre | {{ request_user.room }} |
Connexion | {% if request_user.has_access %} Active {% else %} Désactivée {% endif %} |
Adhésion | {% if request_user.end_adhesion != None %} {{ request_user.end_adhesion }} {% else %} Non adhérent {% endif %} |
Vous n'êtes pas authentifié
{% endif %}{{ interfaces|length }} machines actives
-
{% for interface in interfaces|slice:":5" %}
{{interface}}
{% endfor %}
{% if interfaces|length > 5 %}
Voir mes machines
{% endif %}