From 88eb065e677ceb585af9b46ffbc5370ed48aee98 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 16 Nov 2020 11:08:14 +0100 Subject: Admin: action to add automatically department towns to an area --- .../templates/admin/area_change_list.html | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ishtar_common/templates/admin/area_change_list.html (limited to 'ishtar_common/templates/admin/area_change_list.html') 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 %} +
  • + {% url cl.opts|admin_urlname:'add' as add_url %} + + {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %} + +
  • +
  • + + {% trans "Import from JSON" %} + +
  • +
  • + + {% trans "Import from CSV" %} + +
  • +
  • + + {% trans "Create or update department area" %} + +
  • + {% endif %} + {% endblock %} + -- cgit v1.2.3