summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-05-27 16:30:21 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-05-27 16:30:21 +0200
commitc2d836b31da08412b12e67fc440b95a110a7aa55 (patch)
tree0b9f5444493a4e6fcbe8b0eaa173dccf680bc120 /ishtar_common/templates
parent131973f319d9ec11ac1509d7921e0d6c39d10305 (diff)
downloadIshtar-c2d836b31da08412b12e67fc440b95a110a7aa55.tar.bz2
Ishtar-c2d836b31da08412b12e67fc440b95a110a7aa55.zip
🐛 admin town: fix geojson import/export - ♻️ management command: dump/load towns refactoring
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/admin/import_from_file.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/ishtar_common/templates/admin/import_from_file.html b/ishtar_common/templates/admin/import_from_file.html
index 578a489d6..d520b9532 100644
--- a/ishtar_common/templates/admin/import_from_file.html
+++ b/ishtar_common/templates/admin/import_from_file.html
@@ -1,9 +1,15 @@
{% extends "admin/base_site.html" %}
+{% load i18n %}
{% block content %}
<form action="." method="post" enctype="multipart/form-data">
{% csrf_token %}
+{% if is_town %}
+<ul class="messagelist">
+ <li class="warning">{% trans "If your json file is from an Ishtar export, provide the json file and do not change the other fields." %}</li>
+ </ul>
+{% endif %}
<table>
{{ file_form }}
</table>