summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/import_delete.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates/ishtar/import_delete.html')
-rw-r--r--ishtar_common/templates/ishtar/import_delete.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/import_delete.html b/ishtar_common/templates/ishtar/import_delete.html
new file mode 100644
index 000000000..6979b4dd7
--- /dev/null
+++ b/ishtar_common/templates/ishtar/import_delete.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %}
+{% load i18n inline_formset verbose_names %}
+{% load url from future %}
+{% block content %}
+<h2>{{page_name}}</h2>
+<div class='form'>
+<form action="." method="post">{% csrf_token %}
+<p>{% trans "The current items are linked to this import:" %}</p>
+<ul>{% for accessor, imported in object.get_all_imported %}
+ <li>{% get_verbose_model_name imported %}{% trans ":" %} {{imported}}</li>
+{% endfor %}</ul>
+<p>{% trans "All these items will be deleted with this import." %}</p>
+<strong>{% trans "Are you sure?" %}</strong>
+<input type="submit" value="{% trans "Yes" %}"/>
+</form>
+<p><a href='{% url 'current_imports' %}'>{% trans "Back" %}</a></p>
+</div>
+{% endblock %}