{% load helpers %}
Non-Racked Devices
{% if nonracked_devices %} {% for device in nonracked_devices %} {% if device.parent_bay %} {% else %} {% endif %} {% endfor %}
Name Role Type Parent Device
{{ device }} {{ device.device_role }} {{ device.device_type }}{{ device.parent_bay.device|linkify }} {{ device.parent_bay }}
{% else %}
None
{% endif %}
{% if perms.dcim.add_device %} {% if object|meta:'verbose_name' == 'rack' %} {% elif object|meta:'verbose_name' == 'site' %} {% elif object|meta:'verbose_name' == 'location' %} {% endif %} {% endif %}