Browse Source
Add colored emojis to telegram messages
so you can see whether it's up or down at first glance
pull/487/head
Laura Hausmann
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
templates/integrations/telegram_message.html
|
|
@ -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 %} |