From 448721e9162d70ff775292a11e98d26962c2d66e Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Thu, 4 Mar 2021 01:10:34 +0100 Subject: [PATCH] Add colored emojis to telegram messages so you can see whether it's up or down at first glance --- templates/integrations/telegram_message.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/integrations/telegram_message.html b/templates/integrations/telegram_message.html index 27077262..3626c8a1 100644 --- a/templates/integrations/telegram_message.html +++ b/templates/integrations/telegram_message.html @@ -1,6 +1,6 @@ {% load humanize %} {% if check.status == "down" %} -The check "{{ check.name_then_code }}" is DOWN. Last ping was {{ check.last_ping|naturaltime }}. +🔴 The check "{{ check.name_then_code }}" is DOWN. Last ping was {{ check.last_ping|naturaltime }}. {% else %} -The check "{{ check.name_then_code }}" is now UP. +🟢 The check "{{ check.name_then_code }}" is now UP. {% endif %}