{% load i18n core_extras %}

{% trans "Probability" %}

{% for row in risk_matrix.render_grid_as_colors reversed %} {% with row_index=forloop.revcounter0 %} {% if enriched_data %} {% for item in row %} {% endfor %} {% else %} {% for item in row %} {% endfor %} {% endif %} {% endwith %} {% endfor %} {% for impact in risk_matrix.parse_json_translated.impact %} {% endfor %}
{% 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:", " }}
{{ impact.name }}: {{ impact.description|linebreaksbr }}
{% trans "Impact" %}