You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
550 B

  1. {% load humanize %}
  2. {% with check.get_status as status %}
  3. {% if status == "down" %}
  4. This check is down. Last ping was {{ check.last_ping|naturaltime }}.
  5. {% elif status == "up" %}
  6. This check is up. Last ping was {{ check.last_ping|naturaltime }}.
  7. {% elif status == "grace" %}
  8. This check is late. Last ping was {{ check.last_ping|naturaltime }}.
  9. {% elif status == "paused" %}
  10. This check is paused.
  11. {% elif status == "new" %}
  12. This check has never received a ping.
  13. {% endif %}
  14. {% endwith %}