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