{% if netbox %} {% if netbox.module_set.count or netbox.interface_set.count %}
{% else %}
No ports found.
{% endif %} {% endif %}