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 | 7b22e70da44e3d725d3830a937dd58ef0b4a742e (patch) | |
| tree | f6ad0bb49a22c357fcb4ef77e07029f9ba879632 /ishtar_common/templates/ishtar/import_delete.html | |
| parent | 4c0c22ead1f302ebf8dc6205a37ee24fc725c31a (diff) | |
| download | Ishtar-7b22e70da44e3d725d3830a937dd58ef0b4a742e.tar.bz2 Ishtar-7b22e70da44e3d725d3830a937dd58ef0b4a742e.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 %} |
