diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-02-21 20:24:32 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-04-24 19:38:57 +0200 |
| commit | 1e2e30f4b8a8914931ffe68f235f0b7fcd01ae1d (patch) | |
| tree | 59204818a33b363a5c6dd5711612bd27946578ba /ishtar_common/templates/admin/town_change_list.html | |
| parent | 032aea793747a159885c1b2ce2f8e143b6291b09 (diff) | |
| download | Ishtar-1e2e30f4b8a8914931ffe68f235f0b7fcd01ae1d.tar.bz2 Ishtar-1e2e30f4b8a8914931ffe68f235f0b7fcd01ae1d.zip | |
Admin: import geojson files for towns
Diffstat (limited to 'ishtar_common/templates/admin/town_change_list.html')
| -rw-r--r-- | ishtar_common/templates/admin/town_change_list.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ishtar_common/templates/admin/town_change_list.html b/ishtar_common/templates/admin/town_change_list.html new file mode 100644 index 000000000..bdbc3e9e3 --- /dev/null +++ b/ishtar_common/templates/admin/town_change_list.html @@ -0,0 +1,24 @@ +{% extends "admin/change_list.html" %} +{% load i18n admin_urls static admin_list %} + + {% block object-tools-items %} + {% if has_add_permission %} + <li> + {% url cl.opts|admin_urlname:'add' as add_url %} + <a href="{% add_preserved_filters add_url is_popup to_field %}" class="addlink"> + {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %} + </a> + </li> + <li> + <a href="import-from-csv/" class="addlink"> + {% trans "Import from CSV" %} + </a> + </li> + <li> + <a href="import-from-geojson/" class="addlink"> + {% trans "Import from GeoJSON" %} + </a> + </li> + {% endif %} + {% endblock %} + |
