From e26a0574bac03709dc1f4693878881ef626394ef Mon Sep 17 00:00:00 2001 From: Tom Strickx Date: Fri, 27 Oct 2017 11:26:38 -0700 Subject: [PATCH] Fixes #1655 Further field name references were found in `consoleport.html`. These have now been removed, so we rely on proper a proper `__str__` implementation of both `ConsolePort` and `ConsoleServerPort`. --- netbox/templates/dcim/inc/consoleport.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/templates/dcim/inc/consoleport.html b/netbox/templates/dcim/inc/consoleport.html index 34c08af94..62375c7f2 100644 --- a/netbox/templates/dcim/inc/consoleport.html +++ b/netbox/templates/dcim/inc/consoleport.html @@ -1,13 +1,13 @@ - {{ cp.name }} + {{ cp }} {% if cp.cs_port %} {{ cp.cs_port.device }} - {{ cp.cs_port.name }} + {{ cp.cs_port }} {% else %}