From ff363c82101f8b3273a9bb603518a9bf3ec4ad83 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 %}