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
parent
commit
0da7b12f55
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      templates/emails/alert-body-text.html

+ 2
- 3
templates/emails/alert-body-text.html View File

@ -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 %}


Loading…
Cancel
Save