diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-13 12:16:20 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-13 14:01:49 +0100 |
commit | e3a1f1aa0d0aa05f8f969adb3e40701aaa9ad39f (patch) | |
tree | f6ad0bb49a22c357fcb4ef77e07029f9ba879632 /ishtar_common/templates/ishtar/import_delete.html | |
parent | e2321b650989bfb79975a6ba5b6758d36d0189d0 (diff) | |
download | Ishtar-e3a1f1aa0d0aa05f8f969adb3e40701aaa9ad39f.tar.bz2 Ishtar-e3a1f1aa0d0aa05f8f969adb3e40701aaa9ad39f.zip |
Imports: add a name (refs #3452)
Diffstat (limited to 'ishtar_common/templates/ishtar/import_delete.html')
-rw-r--r-- | ishtar_common/templates/ishtar/import_delete.html | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/ishtar_common/templates/ishtar/import_delete.html b/ishtar_common/templates/ishtar/import_delete.html index 30217bf8d..4b48ebc8c 100644 --- a/ishtar_common/templates/ishtar/import_delete.html +++ b/ishtar_common/templates/ishtar/import_delete.html @@ -4,21 +4,22 @@ {% 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> -{% for accessor, imported in object.get_all_imported %} -{% ifchanged imported|verbose_model_name %} -{% if forloop.counter %}</ul>{% endif %} -<h4>{{imported|verbose_model_name}}</h4> -<ul class='item-list'> -{%endifchanged%} - <li>{{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> + <h3>{{object}}</h3> + <form action="." method="post">{% csrf_token %} + <p>{% trans "The current items are linked to this import:" %}</p> + {% for accessor, imported in object.get_all_imported %} + {% ifchanged imported|verbose_model_name %} + {% if forloop.counter %}</ul>{% endif %} + <h4>{{imported|verbose_model_name}}</h4> + <ul class='item-list'> + {%endifchanged%} + <li>{{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 %} |