{% load hc_extras %} {% for boundary, seconds, count in downtimes reversed %} {% endfor %}
{{ boundary|date:"N Y"}} {% if count %} {{ count }} downtime{{ count|pluralize }}, {{ seconds|hc_approx_duration }} total {% else %} All good! {% endif %}