Browse Source

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

Élie Bouttier 7 years ago
parent
commit
8da9cb6487
1 changed files with 1 additions and 1 deletions
  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