Closes #8973: Display VLAN group count under site view

This commit is contained in:
jeremystretch
2022-04-06 20:12:14 -04:00
parent 9210112bdb
commit f9f958825e
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">