From 0f5d1297503a97e865ce211b2a0c801b21cfd613 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 5 May 2022 18:45:33 +0200 Subject: Geodata: display geodata list on sheet --- .../templates/ishtar/blocks/sheet_geographic.html | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 ishtar_common/templates/ishtar/blocks/sheet_geographic.html (limited to 'ishtar_common/templates') diff --git a/ishtar_common/templates/ishtar/blocks/sheet_geographic.html b/ishtar_common/templates/ishtar/blocks/sheet_geographic.html new file mode 100644 index 000000000..c5a413cc6 --- /dev/null +++ b/ishtar_common/templates/ishtar/blocks/sheet_geographic.html @@ -0,0 +1,27 @@ +{% load i18n window_field %} + + + {% if permission_change_geo %}{% endif %} + + + + + + + + + +{% for geo in geo_item.geodata.all %} + + {% if permission_change_geo %}{% endif %} + + + + + + + + + +{% endfor %} +
 {% trans "Main" %}{% trans "Data type" %}{% trans "Source" %}{% trans "Geometry" %}{% trans "Name" %}{% trans "Origin" %}{% trans "Provider" %}{% trans "Comment" %}
{% if geo.id == geo_item.main_geodata_id %}{% else %}–{% endif %}{% if geo.data_type %}{{ geo.data_type }}{% else %}-{% endif %}{{ geo.source_label }}{{ geo.geometry_type_label }}{{ geo.name }}{% if geo.origin %}{{ geo.origin }}{% else %}-{% endif %}{% if geo.provider %}{{ geo.provider }}{% else %}-{% endif %}{% if geo.comment %}{{ geo.comment }}{% else %}-{% endif %}
-- cgit v1.2.3