{% extends 'switchinfo/base.html' %} {% block content %} {% for switch, interfaces in switches %} {% if interfaces %}

{{switch}}

{% include 'switchinfo/switch_table.html' %} {% else %} Vlan exists on {{ switch }} without ports
{% endif %} {% endfor %} {% endblock %}