diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-05-09 15:32:51 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-05-09 16:11:28 +0200 |
| commit | 3f1bd22dc86753fc87c1cb00040caa836185fb11 (patch) | |
| tree | 89f20542bbac962667470dfea744316e098dc34b /ishtar_common/templates/ishtar/sheet_town.html | |
| parent | f16e30d07859678a24d2e9aec2e79a2c122feca8 (diff) | |
| download | Ishtar-3f1bd22dc86753fc87c1cb00040caa836185fb11.tar.bz2 Ishtar-3f1bd22dc86753fc87c1cb00040caa836185fb11.zip | |
Settings js in an external (generated but cachable) file. Manually set l10n for town sheet.
Diffstat (limited to 'ishtar_common/templates/ishtar/sheet_town.html')
| -rw-r--r-- | ishtar_common/templates/ishtar/sheet_town.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/templates/ishtar/sheet_town.html b/ishtar_common/templates/ishtar/sheet_town.html index 4f154f40d..7b86b9bf1 100644 --- a/ishtar_common/templates/ishtar/sheet_town.html +++ b/ishtar_common/templates/ishtar/sheet_town.html @@ -91,7 +91,7 @@ {% endif %} {% endwith %} <hr class="clearfix"> - {% if PROFILE.mapping and geo_item.main_geodata %} + {% if PROFILE.mapping and item.main_geodata %} <h3>{% trans "Geographic localisation" %}</h3> <div class="row"> {% with geo_item=item %} @@ -133,7 +133,7 @@ </div> -<script type="text/javascript"> +<script type="text/javascript">{% localize off %} $(document).ready( function () { datatable_options = { "dom": 'ltip', @@ -148,7 +148,7 @@ $(document).ready( function () { } }); } ); -</script> +{% endlocalize %}</script> {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} |
