From ce9d853883820d66aafdcf204840022c42596c66 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Fri, 16 Sep 2016 11:50:02 -0400 Subject: [PATCH] Closes #415: Added an expand/collapse toggle button to the prefix list --- netbox/templates/ipam/prefix_list.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/netbox/templates/ipam/prefix_list.html b/netbox/templates/ipam/prefix_list.html index 14ac861a2..df790f9c6 100644 --- a/netbox/templates/ipam/prefix_list.html +++ b/netbox/templates/ipam/prefix_list.html @@ -6,6 +6,15 @@ {% block content %}
+ + {% if 'expand' in request.GET %} + + Collapse all + {% else %} + + Expand all + {% endif %} + {% if perms.ipam.add_prefix %}