{% extends 'generic/object.html' %} {% load helpers %} {% load render_table from django_tables2 %} {% block content %}
Inventory Item Group
Name {{ object.name }}
Assets {{ asset_total }}
{% include 'inc/panels/custom_fields.html' %}
Asset count by status
{% for sc in status_counts.values %} {% empty %} {% endfor %}
Status Count
{% badge value=sc.label bg_color=sc.color %} {{ sc.count }}
— No assets found —
Asset count by type & status
{% for ac in asset_counts %} {% ifchanged ac.inventoryitem_type %} {% else %} {% endifchanged %} {% empty %} {% endfor %}
Inventory Item Type Status Count
{{ ac.inventoryitem_type.manufacturer }} {{ ac.inventoryitem_type|linkify }}   {% badge value=ac.label bg_color=ac.color %} {{ ac.count }}
— No assets found —
{% include 'inc/panels/tags.html' %} {% include 'inc/panels/comments.html' %}
Assets
{% render_table asset_table 'inc/table.html' %} {% include 'inc/paginator.html' with paginator=asset_table.paginator page=asset_table.page %}
{% endblock content %}