From 3f1bd22dc86753fc87c1cb00040caa836185fb11 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 9 May 2023 15:32:51 +0200 Subject: Settings js in an external (generated but cachable) file. Manually set l10n for town sheet. --- ishtar_common/templates/ishtar/blocks/sheet_map.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ishtar_common/templates/ishtar/blocks/sheet_map.html') diff --git a/ishtar_common/templates/ishtar/blocks/sheet_map.html b/ishtar_common/templates/ishtar/blocks/sheet_map.html index 74182a2e1..1ecdb204f 100644 --- a/ishtar_common/templates/ishtar/blocks/sheet_map.html +++ b/ishtar_common/templates/ishtar/blocks/sheet_map.html @@ -1,5 +1,6 @@ -{% load i18n window_field %}{% if PROFILE.mapping and geo_item.main_geodata %} +{% load i18n l10n window_field %}{% if PROFILE.mapping and geo_item.main_geodata %} {% with geodata_list=geo_item.geodata_list %} +{% localize off %}
@@ -73,8 +74,6 @@ const display_map_{{geo_item.SLUG}}_{{geo_item.pk}} = function() { display_map_{{geo_item.SLUG}}_{{geo_item.pk}}(); refresh_map_{{geo_item.SLUG}}_{{geo_item.pk}}(true); - - - +{% endlocalize %} {% endwith %} {% endif %} -- cgit v1.2.3