{% load i18n %}
| {% trans "Status" %} | {% trans "Zone / conduit" %} | {% trans "Site" %} | {% if not register.tenant %}{% trans "Tenant" %} | {% endif %}{% trans "Assessment" %} | {% trans "Step" %} | {% trans "Unmitigated" %} | {% trans "Residual" %} | {% trans "Tolerable" %} | {% trans "Next review" %} | {% trans "Ways in" %} | {% trans "Findings" %} |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {% badge r.bucket_label bg_color=r.bucket_color %}{% if r.accepted_until %} {% blocktrans with date=r.accepted_until|date:"Y-m-d" %}until {{ date }}{% endblocktrans %} {% endif %} |
{{ r.subject|linkify }} {% if r.kind == 'conduit' %}{% trans "conduit" %}{% elif r.purdue_level %}L{{ r.purdue_level }}{% endif %}{% if r.sl_target %} ยท SL-T {{ r.sl_target }}{% endif %} | {{ r.site|linkify|placeholder }} | {% if not register.tenant %}{% for t in r.tenants %}{{ t|linkify }}{% if not forloop.last %}, {% endif %}{% empty %}{{ ''|placeholder }}{% endfor %} | {% endif %}
{% if r.approved %}{{ r.approved.get_kind_display|cut:" (ZCR 2)"|cut:" (ZCR 5)" }} {{ r.approved.assessed_on|date:"Y-m-d" }}{% endif %}
{% if r.in_progress %}
{% if r.approved %} {% endif %} {{ r.in_progress.get_kind_display|cut:" (ZCR 2)"|cut:" (ZCR 5)" }} {{ r.in_progress.assessed_on|date:"Y-m-d" }} {% badge r.in_progress.get_status_display bg_color=r.in_progress.get_status_color %} {% endif %} {% if not r.approved and not r.in_progress %} {% if perms.netbox_ot.add_riskassessment %} {% trans "Assess" %} {% else %}{{ ''|placeholder }}{% endif %} {% endif %} |
{{ r.step|default:"" }} | {% for level in r.levels %}{% if level %}{% badge level.0 bg_color=level.1 %}{% else %}{{ ''|placeholder }}{% endif %} | {% endfor %}{% if r.next_review %}{{ r.next_review|date:"Y-m-d" }}{% else %}{{ ''|placeholder }}{% endif %} | {{ r.ways_in }}{% if r.remote %} {{ r.remote }} {% trans "remote" %}{% endif %} | {% if r.findings.error %}{{ r.findings.error }}{% endif %} {% if r.findings.warning %}{{ r.findings.warning }}{% endif %} {% if not r.findings.error and not r.findings.warning %}0{% endif %} | ||
| {% trans "No zones or conduits in this scope." %} | |||||||||||