|
@ -13,6 +13,12 @@ |
|
|
"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.project.name %} |
|
|
|
|
|
{"title": "Project Name", |
|
|
|
|
|
"value": "{{ check.project.name|escapejs }}" |
|
|
|
|
|
}, |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
{% if check.desc %} |
|
|
{% if check.desc %} |
|
|
{"title": "Description", |
|
|
{"title": "Description", |
|
|
"value": "{{ check.desc|escapejs }}" |
|
|
"value": "{{ check.desc|escapejs }}" |
|
|