{% load i18n %}

{% trans "Root Cause Analysis" %}

{% trans "Structured analysis to identify underlying causes and prevent recurrence." %}

{% if linked_rcas %}
{% for rca in linked_rcas %}

{{ rca.title }}

{{ rca.description|truncatewords:20 }}

{{ rca.get_status_display }} {{ rca.get_severity_display }} {% if rca.assigned_to %} {{ rca.assigned_to.get_full_name }} {% endif %} {% trans "Root Causes" %}: {{ rca.root_causes.count }} · {% trans "Actions" %}: {{ rca.corrective_actions.count }}

{{ rca.created_at|date:"M d, Y" }}

{% endfor %}
{% else %}

{% trans "No Root Cause Analyses yet" %}

{% trans "Use the Initiate RCA button above to start investigating." %}

{% endif %}