diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-14 08:26:09 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-09-14 08:26:09 +0200 |
commit | 63ffae36db57b1f2a0df50e43c04a0676df79bc9 (patch) | |
tree | 6b3f43532fa3bb38826a8b09c6c2aab221c94a9e /ishtar_common/templates/ishtar | |
parent | f94253032fa1bece95b546c36375ecba8331f9f4 (diff) | |
download | Ishtar-63ffae36db57b1f2a0df50e43c04a0676df79bc9.tar.bz2 Ishtar-63ffae36db57b1f2a0df50e43c04a0676df79bc9.zip |
Organization: multiple deletion - redirections after wizard changes
Diffstat (limited to 'ishtar_common/templates/ishtar')
-rw-r--r-- | ishtar_common/templates/ishtar/wizard/delete_wizard.html | 4 | ||||
-rw-r--r-- | ishtar_common/templates/ishtar/wizard/wizard_organization_deletion.html | 4 |
2 files changed, 4 insertions, 4 deletions
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}} </div>{% endif %} <div class="card-body"> - {% 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 %} <table class='table'> {% for data in form_data %} <tr{% if data.2 %} class='{{data.2}}'{%endif%}><th>{{data.0}}</th><td>{{data.1}}</td></tr> 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 %} <h3>{% trans "Associated persons" %}</h3> |