From 8983646d74eb484ff8fb173a568f34962132849a Mon Sep 17 00:00:00 2001
From: Thor Dreier-Hansen <43479811+thordreier@users.noreply.github.com>
Date: Thu, 3 Oct 2024 18:04:19 +0200
Subject: [PATCH] limits vlans on interface tables
---
netbox/dcim/tables/template_code.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/netbox/dcim/tables/template_code.py b/netbox/dcim/tables/template_code.py
index 5dcc55441..96ab803e6 100644
--- a/netbox/dcim/tables/template_code.py
+++ b/netbox/dcim/tables/template_code.py
@@ -57,7 +57,7 @@ INTERFACE_FHRPGROUPS = """
INTERFACE_TAGGED_VLANS = """
{% if record.mode == 'tagged' %}
{% if value.count > 3 %}
- {{ value.count }}
+ {{ value.count }} VLANs
{% else %}
{% for vlan in value.all %}
{{ vlan }}