From 806d3740984e16db1308dd986d229840bcf2e1dd Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Thu, 31 Jul 2025 12:50:50 -0400 Subject: [PATCH] Fix conditional in template --- netbox/templates/extras/object_imageattachments.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/templates/extras/object_imageattachments.html b/netbox/templates/extras/object_imageattachments.html index 70caaf041..0f6947a95 100644 --- a/netbox/templates/extras/object_imageattachments.html +++ b/netbox/templates/extras/object_imageattachments.html @@ -26,7 +26,7 @@ width="{{ tn.width }}" height="{{ tn.height }}" class="rounded" - alt="{{ object.description or object.name }}" + alt="{{ object.description|default:object.name }}" /> {% endthumbnail %}