{% load i18n core_extras %}
{% trans "Impact" %}

{% trans "Probability" %}

{% for impact in risk_matrix.parse_json_translated.impact %} {% endfor %} {% for row in risk_matrix.render_grid_as_colors %} {% with row_index=forloop.counter0 %} {% if enriched_data %} {% for item in row %} {% endfor %} {% else %} {% for item in row %} {% endfor %} {% endif %} {% endwith %} {% endfor %}
{{ impact.name }}: {{ impact.description|linebreaksbr }}
{% with probability=risk_matrix.parse_json_translated.probability|index:row_index %} {{ probability.name }}: {{ probability.description|linebreaksbr }} {% endwith %} {{ enriched_data|index:row_index|index:forloop.counter0|join:", " }}