{% if interface.trunk and not interface.voice_activated %}
Trunk
{% else %}
{% if interface.iseditable %}
{% if interface.detained %}
{{ interface.vlan|default_if_none:'' }}
{% else %}
{% endif %}
{% else %}
{{ interface.vlan|default_if_none:'' }}
{% endif %}
{% endif %}
{# Optional checkbox for voice vlan #}
{% if voice_vlan %}
{% if interface.voice_activated or not interface.trunk %}
{# This span is needed because of the hide-for-medium-up class on the child #}
Tel:
{% else %}
{% endif %}