From 9a2a46a42ea183716aefd2562591483f154e3d21 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 30 Sep 2024 11:30:55 +0200 Subject: 🩹 sheet: fix "full_label" display of hierarchical types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/templates/ishtar/blocks/window_field_flex.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/templates/ishtar/blocks/window_field_flex.html') diff --git a/ishtar_common/templates/ishtar/blocks/window_field_flex.html b/ishtar_common/templates/ishtar/blocks/window_field_flex.html index 133750bee..b1cb1ed30 100644 --- a/ishtar_common/templates/ishtar/blocks/window_field_flex.html +++ b/ishtar_common/templates/ishtar/blocks/window_field_flex.html @@ -1,6 +1,6 @@ {% load i18n %}{% if data %}
{% trans caption %}
-
{{pre_data|safe}}{{data|linebreaksbr}}{{post_data|safe }}
+
{{pre_data|safe}}{% if data.has_full_label %}{{data.full_label}}{% else %}{{data|linebreaksbr}}{% endif %}{{post_data|safe }}
{% endif %} -- cgit v1.2.3