|
@ -13,6 +13,11 @@ |
|
|
"mrkdwn_in": ["fields"], |
|
|
"mrkdwn_in": ["fields"], |
|
|
"text": "“{{ check.name_then_code|escapejs }}” is {{ check.status|upper }}.", |
|
|
"text": "“{{ check.name_then_code|escapejs }}” is {{ check.status|upper }}.", |
|
|
"fields": [ |
|
|
"fields": [ |
|
|
|
|
|
{% if check.desc %} |
|
|
|
|
|
{"title": "Description", |
|
|
|
|
|
"value": "{{ check.desc|escapejs }}" |
|
|
|
|
|
}, |
|
|
|
|
|
{% endif %} |
|
|
{% if check.kind == "simple" %} |
|
|
{% if check.kind == "simple" %} |
|
|
{"title": "Period", |
|
|
{"title": "Period", |
|
|
"value": "{{ check.timeout|hc_duration }}", |
|
|
"value": "{{ check.timeout|hc_duration }}", |
|
|