summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates/ishtar/wizard/wizard_findbasket_deletion.html
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_finds/templates/ishtar/wizard/wizard_findbasket_deletion.html')
-rw-r--r--archaeological_finds/templates/ishtar/wizard/wizard_findbasket_deletion.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/archaeological_finds/templates/ishtar/wizard/wizard_findbasket_deletion.html b/archaeological_finds/templates/ishtar/wizard/wizard_findbasket_deletion.html
new file mode 100644
index 000000000..02f7253d7
--- /dev/null
+++ b/archaeological_finds/templates/ishtar/wizard/wizard_findbasket_deletion.html
@@ -0,0 +1,18 @@
+{% extends "ishtar/wizard/confirm_wizard.html" %}
+{% load i18n link_to_window %}
+
+{% block "warning_message" %}
+{% if current_object.treatment_files.count %}
+<div class="alert alert-{% if has_downstream %}danger{% else %}warning{% endif%}">
+ <i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
+ {% trans "This basket is attached to treatments requests:" %}
+ <ul>{% for tf in current_object.treatment_files.all %}
+ <li>{{ tf }} {{tf|link_to_window}}</li>
+ {% endfor %}</ul>
+ {% trans "Are you sure you want to delete this basket?" %}
+</div>
+{% endif %}
+<div class="alert alert-info">
+ {% trans "Basket informations:" %}
+</div>
+{% endblock %}