From c0c501399260e315dd2d0b72cb6825481bf91311 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 18 Oct 2017 12:52:28 +0200 Subject: Json fields: manage dynamic json fields display in the sheets (refs #3077) --- ishtar_common/templates/ishtar/blocks/sheet_json.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ishtar_common/templates/ishtar/blocks/sheet_json.html (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/blocks/sheet_json.html b/ishtar_common/templates/ishtar/blocks/sheet_json.html new file mode 100644 index 000000000..31e6acb84 --- /dev/null +++ b/ishtar_common/templates/ishtar/blocks/sheet_json.html @@ -0,0 +1,11 @@ +{% load i18n window_field %} +{% for json_section, json_fields in item.json_sections %} +{% if json_section %} +

{{json_section}}

+{% endif %} +{% for label, value in json_fields %} +{% if forloop.first %}{% endif %} +{% endfor %} +{% endfor %} -- cgit v1.2.3