From 6be8cf91b9cb0715fa01524f333ad873049be23b Mon Sep 17 00:00:00 2001 From: Brian Tiemann Date: Mon, 28 Oct 2024 17:40:22 -0400 Subject: [PATCH] Dynamic table for linked rules in vlantranslationpolicy.html --- netbox/templates/ipam/vlantranslationpolicy.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/netbox/templates/ipam/vlantranslationpolicy.html b/netbox/templates/ipam/vlantranslationpolicy.html index da45fe536..0b44ad67e 100644 --- a/netbox/templates/ipam/vlantranslationpolicy.html +++ b/netbox/templates/ipam/vlantranslationpolicy.html @@ -31,7 +31,20 @@
- {% include 'inc/panel_table.html' with table=vlan_translation_table heading="VLAN Translation Rules" %} +
+

+ {% trans "VLAN Translation Rules" %} + {% if perms.ipam.add_vlantranslationrule %} + + {% endif %} +

+ {% htmx_table 'ipam:vlantranslationrule_list' policy_id=object.pk %} +