diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-03-06 19:22:41 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-03-06 19:24:15 +0100 |
commit | b8517e71ef80647740ddecd93fc5baeb9c775257 (patch) | |
tree | 049a1cc0687437fddc3011874fbe023c7e467e40 /archaeological_operations/wizards.py | |
parent | c1b0fc6772ac8b8d8c9923b93c595a1d5f9558fc (diff) | |
download | Ishtar-b8517e71ef80647740ddecd93fc5baeb9c775257.tar.bz2 Ishtar-b8517e71ef80647740ddecd93fc5baeb9c775257.zip |
Administrative act: add a warning when associated item is deleted (refs #4554)
Diffstat (limited to 'archaeological_operations/wizards.py')
-rw-r--r-- | archaeological_operations/wizards.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py index 918226e96..402219e41 100644 --- a/archaeological_operations/wizards.py +++ b/archaeological_operations/wizards.py @@ -217,6 +217,7 @@ class OperationClosingWizard(ClosingWizard): "comment", "towns", "remains", + "administrative_act", ] @@ -225,6 +226,10 @@ class OperationDeletionWizard(MultipleDeletionWizard): fields = OperationClosingWizard.fields filter_owns = {"selec-operation_deletion": ["pks"]} redirect_url = "operation_deletion" + wizard_templates = { + "final-operation_deletion": + "ishtar/wizard/wizard_delete_associated_to_admin_act.html" + } class OperationAdministrativeActWizard(OperationWizard): |