diff options
Diffstat (limited to 'archaeological_files/templates/ishtar/wizard/file_confirm_wizard.html')
-rw-r--r-- | archaeological_files/templates/ishtar/wizard/file_confirm_wizard.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/archaeological_files/templates/ishtar/wizard/file_confirm_wizard.html b/archaeological_files/templates/ishtar/wizard/file_confirm_wizard.html new file mode 100644 index 000000000..914a5198b --- /dev/null +++ b/archaeological_files/templates/ishtar/wizard/file_confirm_wizard.html @@ -0,0 +1,27 @@ +{% extends "ishtar/wizard/confirm_wizard.html" %} +{% load i18n %} + +{% block "warning_informations" %} +{% for file in numeric_reference_files %} +{% if forloop.first %} +<p class='alert'><i class="fa fa-exclamation-triangle" aria-hidden="true"></i> <label>{% trans "The following files have the same numeric index as this file:" %}</label></p> +<ul> +{% endif%} + <li>{{file}} <a href='#' onclick='load_window("{% url 'show-file' file.pk '' %}", "{{model_name}}");' class='display_details'><i class="fa fa-info-circle" aria-hidden="true"></i></a></li> +{% if forloop.last %} +</ul> +<hr/> +{% endif %} +{% endfor %} +{% for file in similar_files %} +{% if forloop.first %} +<p class='alert'><i class="fa fa-exclamation-triangle" aria-hidden="true"></i> <label>{% trans "The following files are in the same town and have parcels in common with this file:" %}</label></p> +<ul> +{% endif%} + <li>{{file}} <a href='#' onclick='load_window("{% url 'show-file' file.pk '' %}", "{{model_name}}");' class='display_details'><i class="fa fa-info-circle" aria-hidden="true"></i></a></li> +{% if forloop.last %} +</ul> +<hr/> +{% endif %} +{% endfor %} +{% endblock %} |