diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-12 17:55:23 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-12 17:55:23 +0100 |
| commit | bb8e1f0d4b7b6243fa60f1ec3280165fdc297a0f (patch) | |
| tree | ab0d2a77067acb7dff9c8912dbe2db0a25cf578f /ishtar_common/templates | |
| parent | f0c15964ee7b5ecfcbe5bfa8fa1def673a0712cf (diff) | |
| download | Ishtar-bb8e1f0d4b7b6243fa60f1ec3280165fdc297a0f.tar.bz2 Ishtar-bb8e1f0d4b7b6243fa60f1ec3280165fdc297a0f.zip | |
Admin: manage import form exported models
Diffstat (limited to 'ishtar_common/templates')
| -rw-r--r-- | ishtar_common/templates/admin/gen_change_list.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ishtar_common/templates/admin/gen_change_list.html b/ishtar_common/templates/admin/gen_change_list.html new file mode 100644 index 000000000..9cb566484 --- /dev/null +++ b/ishtar_common/templates/admin/gen_change_list.html @@ -0,0 +1,19 @@ +{% 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> + {% endif %} + {% endblock %} + |
