{% extends 'generic/object.html' %}
{% load helpers %}
{% load humanize %}
{% load plugins %}
{% block title %}{{ object }}{% endblock %}
{% block breadcrumbs %}
{{ block.super }}
{{ object.hardware_type.manufacturer }} {{ object.hardware_type }}
{% endblock %}
{% block content %}
| Name |
{{ object.name|placeholder }} |
| Description |
{{ object.description|placeholder }} |
| Asset Tag |
{% if object.asset_tag %}
{{ object.asset_tag }}
{% else %}
{{ ''|placeholder }}
{% endif %}
|
| Serial Number |
{% if object.serial %}
{{ object.serial }}
{% else %}
{{ ''|placeholder }}
{% endif %}
|
| Status |
{% badge object.get_status_display bg_color=object.get_status_color %} |
| Role |
{% if object.role %}
{% badge object.role.name hex_color=object.role.color url=object.role.get_absolute_url %}
{% else %}
—
{% endif %}
|
| {{ object.get_kind_display }} Type |
{{ object.hardware_type.manufacturer }} {{ object.hardware_type }} |
| 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 |
{% if object.contact.group %}
{{ object.contact.group|linkify }} /
{% endif %}
{{ object.contact|linkify|placeholder }}
|
{% if object.is_assembly %}
| Primary End {% include 'netbox_assets/inc/primary_end_help.html' %} |
{{ object.hardware|linkify|placeholder }} |
{% else %}
| {{ object.get_kind_display }} |
{{ object.hardware|linkify|placeholder }} |
{% endif %}
| 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 %}
| Owning tenant |
{{ object.owning_tenant|linkify|placeholder }} |
{% include 'inc/panels/tags.html' %}
{% include 'inc/panels/comments.html' %}
{% include 'inc/panels/image_attachments.html' %}
{% plugin_right_page object %}
{% if object.is_assembly %}
{% include 'netbox_assets/inc/asset_ends.html' %}
{% endif %}
{% plugin_full_width_page object %}
{% endblock content %}