{% load i18n %} {% if devices|length > 0 %}

{% trans 'Advanced information about devices, interfaces and hna for expert users.' %}

{% for device in devices %}
{% if device.type %} {% endif %} {% if device.description %} {% endif %} {% if device.routing_protocol %} {% endif %}
{% trans 'Type' %}:{{ device.type }}
{% trans 'Description' %}:{{ device.description }}
{% trans 'Routing protocol' %}:{{ device.routing_protocol }} {% if device.routing_protocol_version %}{{ device.routing_protocol_version }}{% endif %}
{% for interface in device.interface_set.all %}

{% trans 'Interface' %} {{ interface.get_type_display }}

{% if interface.ipv4_address %} {% endif %} {% if interface.ipv6_address %} {% endif %} {% if interface.mac_address %} {% endif %} {% if interface.type == 'wifi' or interface.type == 'batman' or interface.type == 'vwifi' %} {% if interface.wireless_mode or interface.wireless_channel or interface.wireless_polarity or interface.essid or interface.bssid %} {% endif %} {% endif %} {% if interface.type == 'wifi' or interface.type == 'batman' or interface.type == 'vwifi' %} {% if interface.wireless_mode %} {% endif %} {% if interface.wireless_channel %} {% endif %} {% if interface.wireless_polarity %} {% endif %} {% if interface.essid %} {% endif %} {% if interface.bssid %} {% endif %} {% endif %}
IPv4:{{ interface.ipv4_address }}
IPv6:{{ interface.ipv6_address }}
{% trans 'Status' %}:{{ interface.get_status_display }}
{% trans 'MAC address' %}:{{ interface.mac_address }}
{% trans '+ info' %}
{% endfor %} {% for hna in device.hna_set.all %}

Hna

{% trans 'Hna route' %}:{{ hna.route }}
{% endfor %}
{% endfor %}
{% else %}

{% trans 'This node does not have any device yet.' %}

{% endif %}