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

{% trans "Dashboard" %}

{% trans "Overview of Risks, Controls and Incidents" %}

{{ risks_total }}

{% trans "Total Risks" %}

{{ residual_review_required }}

{% trans "Residual Risks Needing Review" %}

{{ notifications_unread }}

{% trans "Unread Notifications" %}

{% trans "Controls by Status" %}

    {% for status in controls_by_status %}
  • {{ status.status }}: {{ status.count }}
  • {% endfor %}

{% trans "Incidents by Status" %}

    {% for incident in incidents_status %}
  • {{ incident.status }}: {{ incident.count }}
  • {% endfor %}

{% trans "Risks by CIA" %}

{% for cia, count in risks_by_cia.items %}
{% if cia == '1' %}

{% trans "Confidentiality" %}

{{ count }} Risks

{% elif cia == '2' %}

{% trans "Integrity" %}

{{ count }} Risks

{% elif cia == '3' %}

{% trans "Availability" %}

{{ count }} {% trans "Risks" %}

{% endif %}
{% endfor %}
{% endblock %}