From c9e41572598e87b9b947b76432e6ce03edd60c84 Mon Sep 17 00:00:00 2001 From: Martin Lehmann Date: Tue, 17 Sep 2024 15:05:42 +0200 Subject: [PATCH] fix(physical_components): Don't show description and context diagram twice --- templates/physical-architecture/phy-component.html.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/physical-architecture/phy-component.html.j2 b/templates/physical-architecture/phy-component.html.j2 index c3d45f4..090142d 100644 --- a/templates/physical-architecture/phy-component.html.j2 +++ b/templates/physical-architecture/phy-component.html.j2 @@ -12,5 +12,5 @@ {{ object.context_diagram.render("svg", display_derived_interfaces=True) | safe }}

Other properties of "{{ object.name }}"

-{% set excluded = [] %} +{% set excluded = ["context_diagram", "description"] %} {{ show_other_attributes(object, excluded) | safe}}