forked from GithubBackups/healthchecks
Add colored emojis to telegram messages
so you can see whether it's up or down at first glance
This commit is contained in:
parent
1d62176f34
commit
448721e916
@ -1,6 +1,6 @@
|
||||
{% load humanize %}
|
||||
{% if check.status == "down" %}
|
||||
The check "{{ check.name_then_code }}" is <b>DOWN</b>. Last ping was {{ check.last_ping|naturaltime }}.
|
||||
🔴 The check "{{ check.name_then_code }}" is <b>DOWN</b>. Last ping was {{ check.last_ping|naturaltime }}.
|
||||
{% else %}
|
||||
The check "{{ check.name_then_code }}" is now <b>UP</b>.
|
||||
🟢 The check "{{ check.name_then_code }}" is now <b>UP</b>.
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user