diff --git a/changes/280.fixed b/changes/280.fixed new file mode 100644 index 0000000..360a689 --- /dev/null +++ b/changes/280.fixed @@ -0,0 +1 @@ +Fixed Capirca policy html templates. diff --git a/nautobot_firewall_models/tables.py b/nautobot_firewall_models/tables.py index 17bc0cb..a3ce556 100644 --- a/nautobot_firewall_models/tables.py +++ b/nautobot_firewall_models/tables.py @@ -336,7 +336,7 @@ class CapircaPolicyTable(BaseTable): pk = ToggleColumn() device = tables.TemplateColumn( - template_code="""{{ record.device }} """ + template_code="""{{ record.device }} """ ) class Meta(BaseTable.Meta): diff --git a/nautobot_firewall_models/templates/nautobot_firewall_models/capircapolicy_details.html b/nautobot_firewall_models/templates/nautobot_firewall_models/capircapolicy_details.html index de5614c..ab4a031 100644 --- a/nautobot_firewall_models/templates/nautobot_firewall_models/capircapolicy_details.html +++ b/nautobot_firewall_models/templates/nautobot_firewall_models/capircapolicy_details.html @@ -6,29 +6,26 @@
{{ object.cfg }}+
{{ object.cfg }}
{{ object.pol }}
{{ object.pol }}
{{ object.net }}
{{ object.net }}
{{ object.svc }}
{{ object.svc }}