{% extends "ui/base-devices.html" %} {% load url from future %} {% load formats %} {% load bob %} {% load icons %} {% block content %}
{% if device.name2 %} {% endif %}
Name {{ device.name }}
Extra name {{ device.name2 }}
Model {{ device.model.name }}
Serial number {{ device.sn }}
Barcode {{ device.barcode }}
Verified {{ device.verified }}
Support expiration {{ device.support_expiration_date|date:'Y-m-d H:i' }}
Warranty expiration {{ device.warranty_expiration_date|date:'Y-m-d H:i' }}
{% 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 %}
Venture {{ device.venture.name }}
Role {{ device.venture_role.name }}
Parent {{ device.parent }}
Chassis position {{ device.chassis_position }}
Position {{ device.position }}
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 }}
{% for item in device.ipaddress_set.all %} {% endfor %}
Hostname Address Last Ping
{{ item|address_icon }} {{ item.hostname }} {{ item.address }} {{ item.last_seen|date:'Y-m-d H:i' }}
Price {{ device.cached_price|currency }}
Cost {{ device.cached_cost|currency }}
Purchase date {{ device.purchase_date|date:'Y-m-d H:i' }}
Deprecation date {{ device.deprecation_date|date:'Y-m-d H:i' }}
Deprecation month {{ device.deprecation_kind.name }}
{% 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 }}
{% endblock content %}