{% load i18n %} {% if node.is_doppelt or node.count_duplicate or node.object_duplicate or node.cell_addresses_multi or node.cell_groups_multi or node.dup_cell_statuses or node.subnet_contained_dup %} {% if node.is_doppelt or node.count_duplicate or node.object_duplicate or node.cell_addresses_multi or node.cell_groups_multi or node.subnet_contained_dup %} {% trans "dup" %}{% if node.cell_addresses_multi and node.cell_addresses|length > 1 %} +{{ node.cell_addresses|length|add:"-1" }}{% endif %}{% if node.subnet_contained_dup %} {% trans "in" %} {% if node.subnet_contained_in_url %}{{ node.subnet_contained_in_name|default:node.subnet_contained_in }}{% else %}{{ node.subnet_contained_in_name|default:node.subnet_contained_in }}{% endif %}{% elif node.object_duplicate and node.object_duplicate_of %} {% trans "in" %} {% if node.object_duplicate_of_url %}{{ node.object_duplicate_of }}{% else %}{{ node.object_duplicate_of }}{% endif %}{% elif node.count_duplicate and node.count_duplicate_of %} {% trans "in" %} {% if node.count_duplicate_of_url %}{{ node.count_duplicate_of }}{% else %}{{ node.count_duplicate_of }}{% endif %}{% endif %} {% endif %} {% if node.dup_cell_statuses %} {% for status in node.dup_cell_statuses %} {% include "netbox_nsm/inc/ipa_cell_tree_status_badge.html" with status=status %} {% endfor %} {% endif %} {% else %} {% endif %}