{% extends "base.html" %} {% block title %}{{ title }} — GMAO Collège{% endblock %} {% block content %}
| N° | Tâche | Périodicité | Contrat | Gestionnaire |
|---|---|---|---|---|
| {{ task.num_tache or '-' }} | {{ task.tache or '-' }} | {{ task.periodicite or '-' }} | {% if task.contrat %} {% else %} {% endif %} | {{ task.gestionnaire or '-' }} |
| Nom | Localisation | Statut | Compteurs | |
|---|---|---|---|---|
| {{ eq.name }} | {% if eq.room %} {{ eq.room.name }} {% elif eq.location %} {{ eq.location }} {% else %} — {% endif %} | {% if eq.status == 'active' %} En service {% elif eq.status == 'inactive' %} Inactif {% elif eq.status == 'maintenance' %} Maintenance {% elif eq.status == 'retired' %} Retiré {% else %} {{ eq.status }} {% endif %} | {% if eq.meters %} {% for meter in eq.meters %} {{ meter.name }}: {{ meter.current_value }} {{ meter.unit }} {% endfor %} {% else %} — {% endif %} |