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

Added total IPv4/IPv6 counts to ipam.AggregateListView

This commit is contained in:
Jeremy Stretch
2016-05-26 15:35:48 -04:00
parent 81963f69d1
commit e80dde3834
4 changed files with 27 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
{% extends '_base.html' %}
{% load humanize %}
{% load helpers %}
{% block title %}Aggregates{% endblock %}
@@ -29,6 +30,8 @@
<div class="row">
<div class="col-md-9">
{% include 'utilities/obj_table.html' with bulk_edit_url='ipam:aggregate_bulk_edit' bulk_delete_url='ipam:aggregate_bulk_delete' %}
<p class="text-right">IPv4 total: <strong>{{ ipv4_total|intcomma }} /32s</strong></p>
<p class="text-right">IPv6 total: <strong>{{ ipv6_total|intcomma }} /64s</strong></p>
</div>
<div class="col-md-3">
{% include 'inc/filter_panel.html' %}