summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/admin/area_change_list.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-11-16 11:08:14 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2020-11-16 11:08:14 +0100
commit88eb065e677ceb585af9b46ffbc5370ed48aee98 (patch)
treedf3abe7669024c6107ae583852f67d4ce658a040 /ishtar_common/templates/admin/area_change_list.html
parent91c0aec5a99194f6fd1927b80354a56e135c1baf (diff)
downloadIshtar-88eb065e677ceb585af9b46ffbc5370ed48aee98.tar.bz2
Ishtar-88eb065e677ceb585af9b46ffbc5370ed48aee98.zip
Admin: action to add automatically department towns to an area
Diffstat (limited to 'ishtar_common/templates/admin/area_change_list.html')
-rw-r--r--ishtar_common/templates/admin/area_change_list.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/ishtar_common/templates/admin/area_change_list.html b/ishtar_common/templates/admin/area_change_list.html
new file mode 100644
index 000000000..54aaceedd
--- /dev/null
+++ b/ishtar_common/templates/admin/area_change_list.html
@@ -0,0 +1,29 @@
+{% 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-json/" class="addlink">
+ {% trans "Import from JSON" %}
+ </a>
+ </li>
+ <li>
+ <a href="import-from-csv/" class="addlink">
+ {% trans "Import from CSV" %}
+ </a>
+ </li>
+ <li>
+ <a href="create-department/" class="addlink">
+ {% trans "Create or update department area" %}
+ </a>
+ </li>
+ {% endif %}
+ {% endblock %}
+