{% load i18n %} {% comment %} Flat row for IPAM hierarchy (in both) — no nested details, no separator lines. Structural prefix parents are skipped; only diff_intersection_pair nodes are shown. {% endcomment %} {% if node.diff_intersection_pair %}
{% if node.diff_fund %} {% trans "Fund" %} {% endif %} {% if node.prefix_display_cidr and not node.ip_ref %} {{ node.prefix_display_cidr }} {% elif node.diff_status %} {% include "netbox_nsm/inc/addr_diff_name_pill.html" %} {% else %} {{ node.name }} {% endif %} {% if node.leaf_count %}{{ node.leaf_count }}{% endif %} {% if node.ip_ref %} {% if node.prefix_display_cidr %}{{ node.prefix_display_cidr }}{% else %}{{ node.ip_ref.str }}{% endif %}{% if node.ip_ref.ct and node.ip_ref.pk %}{% endif %} {% endif %} {% for ref in node.related_refs %} {{ ref.label }}: {{ ref.name }} {% endfor %}
{% elif node.diff_ipam_hierarchy_prefix or node.children %} {% for child in node.children %} {% include "netbox_nsm/inc/addr_intersection_flat_node.html" with node=child %} {% endfor %} {% endif %}