mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-15 16:22:18 -06:00
Move device and device_type ForeignKeys to abstract component models
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
</li>
|
||||
<li role="presentation"{% if active_tab == 'inventory' %} class="active"{% endif %}>
|
||||
<a href="{% url 'dcim:device_inventory' pk=device.pk %}">
|
||||
Inventory <span class="badge">{{ device.inventory_items.count }}</span>
|
||||
Inventory <span class="badge">{{ device.inventoryitems.count }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{% if perms.dcim.napalm_read_device %}
|
||||
|
||||
Reference in New Issue
Block a user