{% extends "base.html" %} {% block content %}

Description: {{ incident.description or '—' }}

Impact: {{ incident.impact or '—' }}

Affected: Servers: {{ incident.affected_servers or '—' }} · Services: {{ incident.affected_services or '—' }} · Customers: {{ incident.affected_customers or '—' }}

Timeline

{% for entry in incident.timeline_entries %}
{{ entry.created_at.strftime('%d %b %H:%M') }} — {{ entry.author.full_name if entry.author else 'System' }}
{{ entry.note }}
{% endfor %} {% if current_user.has_permission('incidents.edit') %}
{% endif %}
{% if current_user.has_permission('incidents.edit') %}

Root Cause & Resolution

{% endif %}

RCA / Postmortem

{% if not incident.rca and current_user.has_permission('incidents.edit') %} Create RCA {% endif %}
{% if incident.rca %} {% set rca = incident.rca %}

Summary: {{ rca.summary }}

Root Cause: {{ rca.root_cause }}

What went well: {{ rca.what_went_well }}

What went wrong: {{ rca.what_went_wrong }}

Action Items

    {% for action in rca.actions %}
  • {{ action.description }} {{ '('+action.owner.full_name+')' if action.owner }} {% if action.status != 'Done' and current_user.has_permission('incidents.edit') %}
    {% endif %}
  • {% endfor %}
{% if current_user.has_permission('incidents.edit') %}
{% endif %} {% else %}

No RCA created yet.

{% endif %}

Status: {{ incident.status.value }}

{% if current_user.has_permission('incidents.edit') %}
{% endif %}

Assigned To: {{ incident.assigned_to.full_name if incident.assigned_to else '—' }}

Incident Commander: {{ incident.incident_commander.full_name if incident.incident_commander else '—' }}

Detected: {{ incident.detected_at.strftime('%d %b %Y %H:%M') }}

Resolved: {{ incident.resolved_at.strftime('%d %b %Y %H:%M') if incident.resolved_at else '—' }}

{% endblock %}