{% extends "layouts/content.html" %} {% load utils %} {% block styles %} {% endblock %} {% block content %} {% if device_yaml is None %}
Configuration Error: invalid device dictionary.

No jobs will be running in this device ({{ device.hostname }}) until the device dictionary is fixed on the master.

{% 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 %}