|
|
- {% load humanize %}
- {% with check.get_status as status %}
- {% if status == "down" %}
- This check is down. Last ping was {{ check.last_ping|naturaltime }}.
- {% elif status == "up" %}
- This check is up. Last ping was {{ check.last_ping|naturaltime }}.
- {% elif status == "grace" %}
- This check is late. Last ping was {{ check.last_ping|naturaltime }}.
- {% elif status == "paused" %}
- This check is paused.
- {% elif status == "new" %}
- This check has never received a ping.
- {% endif %}
- {% endwith %}
|