From 4c99f2d8afcfdb6104edc679ec9b7fce81ceec0c Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 28 Nov 2018 17:14:20 +0100 Subject: Treatment deletion: more explicit messages. --- .../ishtar/wizard/wizard_treatement_deletion.html | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 archaeological_finds/templates/ishtar/wizard/wizard_treatement_deletion.html (limited to 'archaeological_finds/templates') diff --git a/archaeological_finds/templates/ishtar/wizard/wizard_treatement_deletion.html b/archaeological_finds/templates/ishtar/wizard/wizard_treatement_deletion.html new file mode 100644 index 000000000..b0ebe7409 --- /dev/null +++ b/archaeological_finds/templates/ishtar/wizard/wizard_treatement_deletion.html @@ -0,0 +1,27 @@ +{% extends "ishtar/wizard/confirm_wizard.html" %} +{% load i18n %} + +{% block "warning_message" %} +{% with has_downstream=current_object.downstream.count %} +
+ + {% trans "Are you sure you want to delete this treatment?" %} +{% if has_downstream %} + {% trans "The following finds will be deleted and restored to a previous version."%} + + {% trans "All changes made to the associated finds since this treatment record will be lost!" %} +{% endif %} +
+ +
+ {% trans "Treatment informations:" %} +
+ + + +{% endwith %} +{% endblock %} -- cgit v1.2.3