{% extends "layouts/content.html" %} {% load utils %} {% block styles %} {% endblock %} {% block content %} {% if device.device_type.owners_only %}

{{ device.device_type.name }} is a hidden device type.

Only owners of one or more devices of type {{ device.device_type }} can see this information.
{% endif %}

Device dictionary download

Hostname
{{ device.hostname }} {% if user.is_superuser %} {% endif %}
Device type
{{ device.device_type.name }}
Extends
{{ device.get_extends }}
{% with dictionary|split_definition as definition_data %} {% for line in definition_data %}
{{ line.rstrip|replace_python_unicode }}
{% endfor %} {% endwith %}
{% with device_yaml|split_definition as definition_data %} {% for line in definition_data %}
{{ line.rstrip|replace_python_unicode }}
{% endfor %} {% endwith %}
{% endblock %}