Browse Source

Add colored emojis to telegram messages

so you can see whether it's up or down at first glance
pull/488/head
Laura Hausmann 4 years ago
committed by Pēteris Caune
parent
commit
448721e916
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      templates/integrations/telegram_message.html

+ 2
- 2
templates/integrations/telegram_message.html View File

@ -1,6 +1,6 @@
{% load humanize %} {% load humanize %}
{% if check.status == "down" %} {% 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 %} {% else %}
The check "{{ check.name_then_code }}" is now <b>UP</b>.
🟢 The check "{{ check.name_then_code }}" is now <b>UP</b>.
{% endif %} {% endif %}

Loading…
Cancel
Save