From e553dcaf59aedf91aeb5d0e830ff171dce36d353 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 8 Jun 2023 15:43:24 +0200 Subject: ✨ Sheet: display coordinates of points MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/templates/ishtar/blocks/sheet_map.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/ishtar/blocks/sheet_map.html b/ishtar_common/templates/ishtar/blocks/sheet_map.html index a7db9c35f..8dbf008f8 100644 --- a/ishtar_common/templates/ishtar/blocks/sheet_map.html +++ b/ishtar_common/templates/ishtar/blocks/sheet_map.html @@ -25,7 +25,19 @@ >  
+ {% if geodata.geometry_type == "POINT" %}{% with coordinates=geodata.display_coordinates_3d %} {% if geodata.data_type %}{{geodata.name}}{% endif %} +
+ {% if coordinates.0 != None %} + {% trans "X:" %} {{coordinates.0}} ; + {% trans "Y:" %} {{coordinates.1}} + {% endif %} + {% if coordinates.2 != None %} + {% if coordinates.0 != None %}; {% endif %} + {% trans "Z:" %} {{coordinates.2}} + {% endif %} + {% endwith %}{% endif %} + {% endfor %} {% if geo_item.SLUG == "operation" and display_context_records %}
  • -- cgit v1.2.3