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
parent
commit
ff363c8210
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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