From f124504ee5b56c2e7d611b50359a15db6f84843e Mon Sep 17 00:00:00 2001 From: bellwood Date: Thu, 14 Jul 2016 11:05:09 -0400 Subject: [PATCH] add template vars for icons --- netbox/templates/ipam/ipaddress.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/netbox/templates/ipam/ipaddress.html b/netbox/templates/ipam/ipaddress.html index 6834ded9e..b511b58bb 100644 --- a/netbox/templates/ipam/ipaddress.html +++ b/netbox/templates/ipam/ipaddress.html @@ -47,6 +47,7 @@
+ IP Address
@@ -119,15 +120,15 @@
- {% with heading='Parent Prefixes' %} + {% with heading='Parent Prefixes' icon='cube' %} {% render_table parent_prefixes_table 'panel_table.html' %} {% endwith %} {% if duplicate_ips_table.rows %} - {% with heading='Duplicate IP Addresses' panel_class='danger' %} + {% with heading='Duplicate IP Addresses' icon='exclamation-traingle' panel_class='danger' %} {% render_table duplicate_ips_table 'panel_table.html' %} {% endwith %} {% endif %} - {% with heading='Related IP Addresses' %} + {% with heading='Related IP Addresses' icon=share-alt' %} {% render_table related_ips_table 'panel_table.html' %} {% endwith %}