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