Browse Source
Show description in text emails only for the "going down" notifications, and only if the description is not empty.
pull/230/head
Pēteris Caune
6 years ago
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
1 changed files with
2 additions and
3 deletions
-
templates/emails/alert-body-text.html
|
|
@ -1,13 +1,12 @@ |
|
|
|
{% load hc_extras %} |
|
|
|
The check "{{ check.name_then_code }}" has gone {{ check.status }}. |
|
|
|
|
|
|
|
{% if check.status == "down" and check.desc %} |
|
|
|
Additional notes: |
|
|
|
{{ check.desc }} |
|
|
|
|
|
|
|
{% endif %} |
|
|
|
More information: |
|
|
|
{{ check.details_url }} |
|
|
|
|
|
|
|
|
|
|
|
-- |
|
|
|
Regards, |
|
|
|
{% site_name %} |
|
|
|