{% if incident_updates %}
Title update
Title changed to: {{ incident_update.title }}
{% endif %} {% if incident_update.description or incident_update.description|length > 0 %}Description update
Key event: {{ incident_update.event_type|title }}
{% endif %} {% if incident_update.message or incident_update.message|length > 0 %}Status update
{% endif %} {% if incident_update.status.label or incident_update.status.label|length > 0 %}Status changed to: {% include "./status_pill.html" with status=incident_update.status IncidentStatus=IncidentStatus only %}
{% endif %} {% if incident_update.environment %}Environment update
{% endif %} {% if incident_update.environment or incident_update.environment|length > 0 %}Environment changed to: {% include "./environment_pill.html" with environment=incident_update.environment only %}
{% endif %} {% if incident_update.severity %}Severity update
Severity changed to: {{ incident_update.severity }}
{% elif incident_update.priority %}Priority update
Priority changed to: {{ incident_update.priority }}
{% endif %} {% if incident_update.component %}Component update
Component impacted changed to: {{ incident_update.component }}
{% endif %} {% if incident_update.communication_lead or incident_update.commander %}Role update
{% if incident_update.communication_lead %}Communication Lead role assigned to: {{ incident_update.communication_lead }}
{% endif %} {% if incident_update.commander %}Commander role assigned to: {{ incident_update.commander }}
{% endif %} {% endif %}