forked from GithubBackups/healthchecks
Introduce Project Name in Slack notification
This commit is contained in:
parent
50118d90c5
commit
c9979cc125
@ -13,6 +13,12 @@
|
||||
"mrkdwn_in": ["fields"],
|
||||
"text": "“{{ check.name_then_code|escapejs }}” is {{ check.status|upper }}.",
|
||||
"fields": [
|
||||
{% if check.project.name %}
|
||||
{"title": "Project Name",
|
||||
"value": "{{ check.project.name|escapejs }}"
|
||||
},
|
||||
{% endif %}
|
||||
|
||||
{% if check.desc %}
|
||||
{"title": "Description",
|
||||
"value": "{{ check.desc|escapejs }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user