{% extends 'layouts/base.html' %} {% load i18n %} {% load static %} {% block content %} {% include 'header.html' %}
{% include 'partials/notifications/notifications_block.html' %}
{% include 'partials/ooi_head.html' with ooi=ooi view='scan_profile_detail' %}

{% translate 'Clearance level' %}: {{ ooi.scan_profile.human_readable }}, {{ ooi.scan_profile.scan_profile_type }}

{% if ooi.scan_profile.scan_profile_type == 'declared' %}

{% translate 'Declared' %}

{% blocktranslate with scan_level=ooi.scan_profile.human_readable %} This means that this object will be scanned by Boefjes with scan level {{ scan_level }} and lower. Setting the clearance level from “declared” to “inherit” means that this object will inherit its level from neighbouring objects. This means that the clearance level might stay the same, increase, or decrease depending on other declared clearance levels. Clearance levels of objects that inherit from this clearance level will also be recalculated. {% endblocktranslate %}

{% elif ooi.scan_profile.scan_profile_type == 'empty' %}

{% translate 'Empty' %}

{% blocktranslate %} Objects with a clearance level higher than "L0" will be scanned automatically by Boefjes with corresponding scan levels. This object has a clearance level of "L0". This means that this object will not be scanned by any Boefje until that Boefje is run manually for this object again. {% endblocktranslate %}

{% elif ooi.scan_profile.scan_profile_type == 'inherited' %}

{% translate 'Inherited' %}

{% for inheritance in ooi.scan_profile.inheritances %} {% endfor %}
{% translate 'Scan level' %} {% translate 'Inherited from' %} {% translate 'Inheritance source' %} {% translate 'Inheritance depth' %}
{{ inheritance.human_readable }} {{ inheritance.parent.class_ }}: {{ inheritance.parent.human_readable }} {{ inheritance.source.class_ }}: {{ inheritance.source.human_readable }} {{ inheritance.depth }}
{% endif %}
{% csrf_token %} {% translate 'Set clearance level' as fieldset_legend %} {% include 'partials/form/fieldset.html' with legend=fieldset_legend fields=form %}
{% endblock content %}