Parcourir la source

espace adhérent : dernière réponse au ping des IPs

Élie Bouttier il y a 7 ans
Parent
commit
8da9cb6487
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      services/templates/services/service_detail.html

+ 1 - 1
services/templates/services/service_detail.html

@@ -25,7 +25,7 @@
             IP allouée{{ service.active_allocations.count|pluralize }} :
             {% for allocation in service.active_allocations.all %}
             {% if forloop.first %}<ul>{% endif %}
-                <li>{{ allocation.resource }} (depuis le {{ allocation.start }})</li>
+                <li>{{ allocation.resource }}{% if allocation.resource.last_check %} (dernière réponse au ping : {{ allocation.resource.last_time_up }}){% endif %}</li>
             {% if forloop.last %}</ul>{% endif %}
             {% empty %}
             aucune IP allouée