From a2453c5b453bb0d0595a1c1df7f6d7413b11a6ab Mon Sep 17 00:00:00 2001 From: George Cox Date: Wed, 13 Jul 2022 11:01:56 +0100 Subject: [PATCH] update CIRCUITTERMINATION_LINK if location is set, show location if site only is set, show site (as before) if provider_network only is set, show provider_network (as before) --- netbox/circuits/tables/circuits.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/netbox/circuits/tables/circuits.py b/netbox/circuits/tables/circuits.py index 40f8918ae..c6e9aa41c 100644 --- a/netbox/circuits/tables/circuits.py +++ b/netbox/circuits/tables/circuits.py @@ -12,7 +12,9 @@ __all__ = ( CIRCUITTERMINATION_LINK = """ -{% if value.site %} +{% if value.site and value.location %} + {{ value.location }} +{% elif value.site %} {{ value.site }} {% elif value.provider_network %} {{ value.provider_network }}