{% load humanize %} {% if check.status == "down" %} {{ check.name_then_code }} is down. Last ping was {{ check.last_ping|naturaltime }}. Details: {{ check.details_url }} {% else %} {{ check.name_then_code }} received a ping and is now UP {% endif %}