{% extends 'generic/object.html' %} {% load helpers %} {% load humanize %} {% block title %}{{ object.hardware_type.manufacturer }} {{ object }}{% endblock %} {% block breadcrumbs %} {{ block.super }}
| Name | {{ object.name|placeholder }} |
|---|---|
| Asset Tag | {{ object.asset_tag|placeholder }} |
| Serial Number | {{ object.serial|placeholder }} |
| Status | {% badge object.get_status_display bg_color=object.get_status_color %} |
| {{ object.get_kind_display }} Type | {{ object.hardware_type.manufacturer }} {{ object.hardware_type }} |
| Inventory Item Group | {% if object.inventoryitem_type.inventoryitem_group %} {% for group in object.inventoryitem_type.inventoryitem_group.get_ancestors %} {{ group|linkify }} / {% endfor %} {{ object.inventoryitem_type.inventoryitem_group|linkify }} {% else %} {{ ''|placeholder }} {% endif %} |
| Storage Location | {% if object.storage_location %} {{ object.storage_location.site }} / {% endif %} {{ object.storage_location|linkify|placeholder }} |
| Tenant | {% if object.tenant.group %} {{ object.tenant.group|linkify }} / {% endif %} {{ object.tenant|linkify|placeholder }} |
|---|---|
| Contact | {{ object.contact|linkify|placeholder }} |
| {{ object.get_kind_display }} | {{ object.hardware|linkify|placeholder }} |
| Site | {{ object.installed_site|linkify|placeholder }} |
|---|---|
| Location | {% if object.installed_location %} {% for location in object.installed_location.get_ancestors %} {{ location|linkify }} / {% endfor %} {{ object.installed_location|linkify }} {% else %} {{ ''|placeholder }} {% endif %} |
| Rack | {{ object.installed_rack|linkify|placeholder }} |
| Device | {{ object.installed_device|linkify|placeholder }} |
| Owner | {{ object.owner|linkify|placeholder }} |
|---|---|
| Purchase | {{ object.purchase|linkify|placeholder }} |
| Purchase date | {{ object.purchase.date|annotated_date|placeholder }} |
| Warranty start | {{ object.warranty_start|annotated_date|placeholder }} |
| Warranty end | {{ object.warranty_end|annotated_date|placeholder }} |
| Warranty remaining | {% include "netbox_inventory/inc/asset_warranty.html" with asset=object %} |