Closes #8804: Include module type count on manufacturer view

This commit is contained in:
jeremystretch
2022-03-07 13:44:27 -05:00
parent bde87a4f4c
commit 407b53aaeb
2 changed files with 12 additions and 2 deletions

View File

@@ -34,6 +34,12 @@
<a href="{% url 'dcim:devicetype_list' %}?manufacturer_id={{ object.pk }}">{{ devicetypes_table.rows|length }}</a>
</td>
</tr>
<tr>
<th scope="row">Module types</th>
<td>
<a href="{% url 'dcim:moduletype_list' %}?manufacturer_id={{ object.pk }}">{{ module_type_count }}</a>
</td>
</tr>
<tr>
<th scope="row">Inventory Items</th>
<td>