From 63ffae36db57b1f2a0df50e43c04a0676df79bc9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sat, 14 Sep 2019 08:26:09 +0200 Subject: Organization: multiple deletion - redirections after wizard changes --- ishtar_common/templates/ishtar/wizard/delete_wizard.html | 4 ++-- .../templates/ishtar/wizard/wizard_organization_deletion.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ishtar_common/templates/ishtar/wizard') diff --git a/ishtar_common/templates/ishtar/wizard/delete_wizard.html b/ishtar_common/templates/ishtar/wizard/delete_wizard.html index 82e074eae..21c5f31b5 100644 --- a/ishtar_common/templates/ishtar/wizard/delete_wizard.html +++ b/ishtar_common/templates/ishtar/wizard/delete_wizard.html @@ -25,10 +25,10 @@ {{form_label}} {% endif %}
- {% if current_objs and current_objs.1 %}{% for current_object in current_objs %}{% if forloop.counter == forloop.parentloop.counter %} + {% for current_object in current_objs %}{% if forloop.counter == forloop.parentloop.counter %} {% block "detailled_extra_info" %} {% endblock %} - {% endif %}{% endfor %}{% endif %} + {% endif %}{% endfor %} {% for data in form_data %} diff --git a/ishtar_common/templates/ishtar/wizard/wizard_organization_deletion.html b/ishtar_common/templates/ishtar/wizard/wizard_organization_deletion.html index 4f35f0c90..bd45ab5e8 100644 --- a/ishtar_common/templates/ishtar/wizard/wizard_organization_deletion.html +++ b/ishtar_common/templates/ishtar/wizard/wizard_organization_deletion.html @@ -1,6 +1,6 @@ -{% extends "ishtar/wizard/confirm_wizard.html" %} +{% extends "ishtar/wizard/delete_wizard.html" %} {% load i18n %} -{% block "extra_informations" %} +{% block "detailled_extra_info" %} {% if current_object.members.count %}

{% trans "Associated persons" %}

-- cgit v1.2.3
{{data.0}}{{data.1}}