{% extends "ui/base-devices.html" %} {% load url from future %} {% load icons %} {% block content %}
{% include 'ui/device-form.html' with form=form %}
{% csrf_token %}
{% if property_form %} {% include 'ui/device-properties.html' with form=property_form %} {% endif %} {% for o in device.venture.all_ownerships %} {% endfor %} {% if device.venture.department %} {% endif %}
Owner
{{ o|owner_icon }} {{ o.owner }}
{{ device.venture|venture_icon }} {{ device.venture.department }}
{% if device.parent %} {% endif %} {% if device.model.type == dt.blade_server.id %} {% if device.parent.management %} {% endif %} {% endif %} {% if device.model.type == dt.virtual_server.id %} {% if device.management %} {% endif %} {% else %} {% if device.find_management %} {% endif %} {% endif %} {% for child in device.child_set.all %} {% endfor %}
Parent device {{ device.parent|device_icon }} {{ device.parent.name }}
Blade System {{ device.parent|device_icon }} {{ device.parent.name }}
Blade System Management Address {{ device.parent.management|address_icon }} {{ device.parent.management }}
Virtual Server Hypervisor {{ device.parent|device_icon }} {{ device.parent.name }}
Head Node Management Address {{ device.management|address_icon }} {{ device.management }}
Server Management Address {{ device.find_management|address_icon }} {{ device.find_management }}
Child device {{ child|device_icon }} {{ child.name }}
{% endblock content %}