{% extends "base.html" %} {% block title %} Porta do switch {% endblock %} {% block extra-css %} {% load staticfiles %} {% endblock %} {% block titulo %}
Número: {{ portaswitch.num }}
Switch: {{ portaswitch.switch.name }} - {{ portaswitch.switch.place }}
Tipo: {{ portaswitch.tipo }}
{% if portaswitch.host %}Host: {% if t == "host" %} {% elif t == "switch" %} {% elif t == "printer" %} {% else %} {% endif %} {{ portaswitch.host|default_if_none:"" }}
{% endif %} {% if vlans %}VLANs: {% if trunk == "OK" %} (Trunk) {% endif %}
OBS: {{ portaswitch.obs }}
{% endif %}