Browse Source

Experimental Zulip integration. Fixes #202

pull/342/head
Pēteris Caune 5 years ago
parent
commit
b689c8aa4e
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
2 changed files with 10 additions and 0 deletions
  1. +9
    -0
      templates/integrations/zulip_content.html
  2. +1
    -0
      templates/integrations/zulip_topic.html

+ 9
- 0
templates/integrations/zulip_content.html View File

@ -0,0 +1,9 @@
{% load hc_extras humanize %}
[{{ check.name_then_code }}]({{ check.details_url }}) is **{{ check.status|upper }}**. {% if check.status == "down" %}Last ping was {{ check.last_ping|naturaltime }}.{% endif %}
{% if check.desc %}
---
**Description**
{{ check.desc}}
{% endif %}

+ 1
- 0
templates/integrations/zulip_topic.html View File

@ -0,0 +1 @@
{{ check.name_then_code }} is {{ check.status|upper }}

Loading…
Cancel
Save