summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates/ishtar/wizard/wizard_findbasket_deletion.html
blob: 02f7253d7f359df55e9b4fadbee66ba680a9a376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 %}