1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #8973: Display VLAN group count under site view

This commit is contained in:
jeremystretch
2022-04-06 20:12:14 -04:00
parent 6760533a10
commit d93e944c07
3 changed files with 19 additions and 1 deletions

View File

@@ -188,6 +188,16 @@
{% endif %}
</td>
</tr>
<tr>
<th scope="row">VLAN Groups</th>
<td class="text-end">
{% if stats.vlangroup_count %}
<a href="{% url 'ipam:vlangroup_list' %}?site={{ object.pk }}">{{ stats.vlangroup_count }}</a>
{% else %}
{{ ''|placeholder }}
{% endif %}
</td>
</tr>
<tr>
<th scope="row">VLANs</th>
<td class="text-end">