Browse Source

Add pager team templates

pull/229/head
Michal Bryc 6 years ago
parent
commit
3a21f4e4c4
2 changed files with 6 additions and 0 deletions
  1. +5
    -0
      templates/integrations/pagerteam_description.html
  2. +1
    -0
      templates/integrations/pagerteam_title.html

+ 5
- 0
templates/integrations/pagerteam_description.html View File

@ -0,0 +1,5 @@
{% load humanize %}
{{ check.name_then_code }} is {{ check.status|upper }}.
{% if check.status == "down" %}
Last ping was {{ check.last_ping|naturaltime }}.
{% endif %}

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

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

Loading…
Cancel
Save