From 4b3a425888f134328990e7b6d18d38c7e9d34ea7 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 29 Aug 2017 16:14:32 -0400 Subject: [PATCH] Fixed role link on IP address view --- netbox/templates/ipam/ipaddress.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/netbox/templates/ipam/ipaddress.html b/netbox/templates/ipam/ipaddress.html index 789e89273..51a2fb23e 100644 --- a/netbox/templates/ipam/ipaddress.html +++ b/netbox/templates/ipam/ipaddress.html @@ -83,7 +83,11 @@ Role - {{ ipaddress.get_role_display }} + {% if ipaddress.role %} + {{ ipaddress.get_role_display }} + {% else %} + None + {% endif %}