{% load i18n %} {% include "netbox_nsm/inc/nsm_ip_analyzer_applet_assets.html" %} {% if nsm_security_tab_mode %}
{% else %}
{{ nsm_panel_label }}{% if nsm_security_badge %} {{ nsm_security_badge }}{% endif %} {% if nsm_page_addr_analyzable %} {% endif %} {% trans "Assign" %}
{% endif %} {% if not nsm_link_table and not nsm_interface_analysis %}
{% trans "None" %}
{% endif %} {# ── Linked objects (object-type tabs + value sub-grouping + pagination) ─ #} {% include "netbox_nsm/inc/security_link_objects.html" %} {# ── Per-interface analysis (Device / VM only) ─────────────────────── #} {% if nsm_interface_analysis %}
{% for iface in nsm_interface_analysis %}
{% if iface.parent_url %} {{ iface.parent_name }} {% endif %} {% if iface.url %} {{ iface.name }} {% else %} {{ iface.name }} {% endif %} {{ iface.entry_count }}
{% if iface.link_rows %}
{% for link in iface.link_rows %} {{ link.type_label }}: {% if link.url %} {{ link.name|safe }} {% else %} {{ link.name|safe }} {% endif %} {% endfor %}
{% endif %}
{% endfor %}
{% endif %}