Affluence aux guichets

{% if json.err %}

Erreur à la récupération de l’information.

{% else %} {% with json.data.0 as site %}
Temps d’attente estimé :
{{ site.estimatedAvgWaitingTimeInMinutes|default:"--" }} minutes
{% if site.closed %}

Les guichets sont actuellement fermés.

{% elif site.estimatedAvgWaitingTimeInMinutes is None %}

Pas de temps d’attente connu.

{% elif not site.cumulatedWaitingVisitorNumber %}

Il n'y a actuellement personne en attente.

{% else %}

Il y a actuellement {{ site.cumulatedWaitingVisitorNumber }} personne{{ site.cumulatedWaitingVisitorNumber|pluralize:"s" }} en attente.

{% endif %} {% endwith %} {% endif %}