From f181b14858a94bbe0aad522392a1f64c5195fc4b Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 1 Nov 2023 14:58:28 -0400 Subject: [PATCH] Use tooltips for display attributes --- netbox/netbox/tables/template_code.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/netbox/tables/template_code.py b/netbox/netbox/tables/template_code.py index 01e8d3211..6ba76217a 100644 --- a/netbox/netbox/tables/template_code.py +++ b/netbox/netbox/tables/template_code.py @@ -1,9 +1,9 @@ SEARCH_RESULT_ATTRS = """ {% for name, value in record.display_attrs.items %} {% with url=value.get_absolute_url %} - + {% if url %}{% endif %} - {{ name|bettertitle }}: {{ value }} + {{ value }} {% if url %}{% endif %} {% endwith %}