{% extends 'generic/object.html' %}
{% load helpers %}
{% load humanize %}
{% load plugins %}
{% block title %}{{ object.hardware_type.manufacturer }} {{ object }}{% endblock %}
{% block breadcrumbs %}
{{ block.super }}
{{ object.hardware_type.manufacturer }} {{ object.hardware_type }}
{% endblock %}
{% block content %}
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 }} |
{% if object.kind == 'inventoryitem' %}
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 %}
|
{% 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 }} |
{% include 'inc/panels/custom_fields.html' %}
{% plugin_left_page object %}
Owner |
{{ object.owner|linkify|placeholder }} |
Purchase |
{{ object.purchase|linkify|placeholder }}{% if object.purchase.date %} on {{ object.purchase.date|annotated_date }}{% endif %} |
Delivery |
{{ object.delivery|linkify:'name'|placeholder }}{% if object.delivery.date %} on {{ object.delivery.date|annotated_date }}{% endif %} |
Warranty start |
{{ object.warranty_start|annotated_date|placeholder }} |
Warranty end |
{{ object.warranty_end|annotated_date|placeholder }} |
Warranty remaining |
{% include warranty_progressbar with record=object %}
|
{% include 'inc/panels/tags.html' %}
{% include 'inc/panels/comments.html' %}
{% include 'inc/panels/image_attachments.html' %}
{% plugin_right_page object %}
{% plugin_full_width_page object %}
{% endblock content %}