summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-09-28 15:54:24 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:23:18 +0100
commitf11008a45e1b44846afe07fde04d55c79772fbd5 (patch)
tree4958966179956bcae94cbcb5188311b72e2763e6 /ishtar_common/templates
parent6e97cb35ae70db6c816599277da03faab228fa76 (diff)
downloadIshtar-f11008a45e1b44846afe07fde04d55c79772fbd5.tar.bz2
Ishtar-f11008a45e1b44846afe07fde04d55c79772fbd5.zip
Geodata: fix creation from find
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/ishtar/blocks/sheet_map.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/sheet_map.html b/ishtar_common/templates/ishtar/blocks/sheet_map.html
index 954a7337d..bb143f1dc 100644
--- a/ishtar_common/templates/ishtar/blocks/sheet_map.html
+++ b/ishtar_common/templates/ishtar/blocks/sheet_map.html
@@ -15,7 +15,7 @@
{% if not forloop.counter0 %}checked{% endif %}
>
&nbsp; <label for="map-ol-{{geo_item.SLUG}}-{{geo_item.pk}}-{{geodata.pk}}">
- <strong>{{geodata.data_type}}</strong></label><br/>
+ <strong>{% if geodata.data_type %}{{geodata.data_type}}{% else %}-{% endif %}</strong></label><br/>
{{geodata.name}}
</li>{% endfor %}
{% if geo_item.SLUG == "operation" and display_context_records %}