diff --git a/templates/emails/alert-body-html.html b/templates/emails/alert-body-html.html index 4016fa1c..183ed530 100644 --- a/templates/emails/alert-body-html.html +++ b/templates/emails/alert-body-html.html @@ -1,92 +1,17 @@ -{% load humanize hc_extras %} +{% extends "emails/base.html" %} +{% block content %} - +
+ This is a notification sent by healthchecks.io.
+
+ The check {{ check.name_then_code }}
+ has gone {{ check.status|upper }}.
+
Hello,
-This is a notification sent by healthchecks.io.
-The check "{{ check.name_then_code }}" has gone {{ check.status }}.
Here is a summary of all your checks:
-- | Name | -Period | -Last Ping | -Actions | -
---|---|---|---|---|
- {% if check.get_status == "new" %} - NEW - {% elif check.in_grace_period %} - LATE - {% elif check.get_status == "up" %} - UP - {% elif check.get_status == "down" %} - DOWN - {% endif %} - | -
- {% if check.name %}
- {{ check.name }}
- {% else %}
- unnamed
- {% endif %}
- {% if check.tags %}
- - {{ check.tags }} - {% endif %} - |
- - {{ check.timeout|hc_duration }} - | -- {% if check.last_ping %} - {{ check.last_ping|naturaltime }} - {% else %} - Never - {% endif %} - | -- View Log - | -
- --
- Regards,
- healthchecks.io
-
Thanks,
The Healthchecks.io Team
This is a monthly report sent by healthchecks.io.
-- | Name | -Period | -Last Ping | -|
---|---|---|---|---|
- {% if check.get_status == "new" %} - NEW - {% elif check.in_grace_period %} - LATE - {% elif check.get_status == "up" %} - UP - {% elif check.get_status == "down" %} - DOWN - {% endif %} - | -
- {% if check.name %}
- {{ check.name }}
- {% else %}
- unnamed
- {% endif %}
- {% if check.tags %}
- - {{ check.tags }} - {% endif %} - |
- - {{ check.timeout|hc_duration }} - | -- {% if check.last_ping %} - {{ check.last_ping|naturaltime }} - {% else %} - Never - {% endif %} - | -- View Log - | -
Just one more thing to check: Do you have more cron jobs, @@ -102,9 +14,9 @@ not yet on this list, that would benefit from monitoring? Get the ball rolling by adding one more!
Cheers,
The Healthchecks.io Team
+ | Name | +Period | +Last Ping | +|
---|---|---|---|---|
+ {% if check.get_status == "new" %} + NEW + {% elif check.in_grace_period %} + LATE + {% elif check.get_status == "up" %} + UP + {% elif check.get_status == "down" %} + DOWN + {% endif %} + | +
+ {% if check.name %}
+ {{ check.name }}
+ {% else %}
+ unnamed
+ {% endif %}
+ {% if check.tags %}
+ + {{ check.tags }} + {% endif %} + |
+ + {{ check.timeout|hc_duration }} + | ++ {% if check.last_ping %} + {{ check.last_ping|naturaltime }} + {% else %} + Never + {% endif %} + | ++ View Log + | +