From a145dbc44aa7c4d2b6a84b2cc671a2533c67c4fb Mon Sep 17 00:00:00 2001 From: Brian Tiemann Date: Thu, 22 Jan 2026 22:13:12 -0500 Subject: [PATCH] Ensure "-" null placeholder still shows up on detail page --- netbox/templates/dcim/interface.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/netbox/templates/dcim/interface.html b/netbox/templates/dcim/interface.html index f993833e3..aa5b6e603 100644 --- a/netbox/templates/dcim/interface.html +++ b/netbox/templates/dcim/interface.html @@ -143,9 +143,13 @@ {% trans "MAC Address" %} - {{ object.mac_address_display|linkify }} - {% if object.primary_mac_address %} - {% trans "Primary" %} + {% if object.mac_address_display %} + {{ object.mac_address_display|linkify }} + {% if object.primary_mac_address %} + {% trans "Primary" %} + {% endif %} + {% else %} + {{ ''|placeholder }} {% endif %}