{% extends 'ui/panels/_base.html' %} {% load i18n %} {% block panel_content %}
{% if matrix.placed %} {% for n, label in matrix.impact %}{% endfor %} {% for row in matrix.rows %} {% for cell in row.cells %} {% endfor %} {% endfor %}
{% trans "Likelihood" %} ↓ / {% trans "Impact" %} →{{ n }}
{{ label }}
{{ row.value }} - {{ row.label }} {% for mark in cell.marks %}{{ mark }}{% empty %}{{ cell.label }}{% endfor %}
{# On a narrow screen the axes show numbers only; their labels go here #}
{% trans "Likelihood" %}: {% for row in matrix.rows reversed %}{{ row.value }} {{ row.label }}{% if not forloop.last %}, {% endif %}{% endfor %}. {% trans "Impact" %}: {% for n, label in matrix.impact %}{{ n }} {{ label }}{% if not forloop.last %}, {% endif %}{% endfor %}.
{% else %} {% for cell in matrix.scale %} {% endfor %}
{{ cell.label }}
{% for mark in cell.marks %}{{ mark }}{% endfor %}
{% trans "Record the likelihood and impact of the unmitigated and the residual risk to see them on the risk matrix." %}
{% endif %}
U {% trans "unmitigated risk" %} R {% trans "residual risk" %} {% if not matrix.placed %}T {% trans "tolerable risk" %}{% endif %}
{% if matrix.tolerable %} {% blocktrans with level=matrix.tolerable %}Tolerable risk: {{ level }}. Hatched cells are above it{% endblocktrans %}{% if matrix.placed %}{% trans "; the heavy line is where it ends" %}{% endif %}. {% else %} {% trans "No tolerable risk recorded yet: without it nothing says whether a risk is acceptable." %} {% endif %} {% if matrix.method %}{% trans "Method" %}: {{ matrix.method }}.{% endif %} {% if matrix.placed and matrix.default %}{% trans "This is the plugin's default 5 x 5 matrix; the risk_matrix setting replaces it with your own." %}{% endif %}
{% endblock %}