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
commit3671f90e57d18e68b00d118e619bae28b9157f55 (patch)
tree4958966179956bcae94cbcb5188311b72e2763e6 /ishtar_common/templates
parent37c5c037e1f3cfe461018b5f00a725bd858f5694 (diff)
downloadIshtar-3671f90e57d18e68b00d118e619bae28b9157f55.tar.bz2
Ishtar-3671f90e57d18e68b00d118e619bae28b9157f55.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 %}