summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/gis/openlayers.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-06-07 20:14:54 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-06-08 10:17:35 +0200
commitf6e87ee949148debc0c4c911153c828686e15123 (patch)
tree6adf2a7f32bc6311afdf5414d4a5905c66e587a3 /ishtar_common/templates/gis/openlayers.html
parent2eccf625a9a4e06e3236ece50728536bbe0cd75e (diff)
downloadIshtar-f6e87ee949148debc0c4c911153c828686e15123.tar.bz2
Ishtar-f6e87ee949148debc0c4c911153c828686e15123.zip
🐛 many fix (or potential fix) in templates (inappropriate l10n) (refs #5594)
Diffstat (limited to 'ishtar_common/templates/gis/openlayers.html')
-rw-r--r--ishtar_common/templates/gis/openlayers.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/ishtar_common/templates/gis/openlayers.html b/ishtar_common/templates/gis/openlayers.html
index d6d0bf40c..1e0bb6cc7 100644
--- a/ishtar_common/templates/gis/openlayers.html
+++ b/ishtar_common/templates/gis/openlayers.html
@@ -1,4 +1,5 @@
{% load i18n l10n %}
+{% localize off %}
<style type="text/css">{% block map_css %}{% get_current_language_bidi as LANGUAGE_BIDI %}
#{{ id }}_map { width: {{ map_width }}px; height: {{ map_height }}px; }
#{{ id }}_map .aligned label { float: inherit; }
@@ -31,7 +32,7 @@
id: '{{ id }}',
map_id: '{{ id }}_map',
map_options: map_options,
- map_srid: {{ map_srid|unlocalize }},
+ map_srid: {{ map_srid }},
name: '{{ name }}'
};
{% endblock %}
@@ -40,3 +41,4 @@
{% endblock %}
</script>
</div>
+{% endlocalize %}