{% comment %}
There's no clear formatting here to avoid issues with whitespaces being significant 
{% endcomment %}
{% ifequal notification-type "analysis-error" %}_*{{project-name}}* analysis failed with non-recovarable error(s)_: {{project-url}}{% else %}
{% ifequal notification-type "analysis-ok" %}_*{{project-name}}* analysis finished without alerts_: {{analysis-result-url}}{% else %}
_*{{project-name}}* analysis finished with alerts_: {{analysis-result-url}}
{% if warnings.dangers %}
*Danger*:{% for danger in warnings.dangers %}
- {{danger.description}}: {{analysis-result-url}}/warnings/{{danger.linkable-name}}{% endfor %}
{% endif %}
{% if warnings.warnings %}
*Warning*:{% for warning in warnings.warnings %}
- {{warning.description}}: {{analysis-result-url}}/warnings/{{warning.linkable-name}}{% endfor %}
{% endif %}
{% if warnings.infos %}
*Info*:{% for info in warnings.infos %}
- {{info.description}}: {{analysis-result-url}}/warnings/{{info.linkable-name}}{% endfor %}
{% endif %}
{% endifequal %}
{% endifequal %}
