From 00128aff5d137ae415ebfc37fc7cf34d67b86e73 Mon Sep 17 00:00:00 2001 From: Craig Williams Date: Wed, 9 Feb 2022 11:28:43 +0000 Subject: [PATCH] Because organisations are soft deleted, remove the "cannot undo" message on delete confirm --- templates/modals/confirm-delete-organisation.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/modals/confirm-delete-organisation.html.twig b/templates/modals/confirm-delete-organisation.html.twig index f255e3c..856f71c 100644 --- a/templates/modals/confirm-delete-organisation.html.twig +++ b/templates/modals/confirm-delete-organisation.html.twig @@ -7,7 +7,7 @@ {% include "forms/csrf.html.twig" %}
-

{{translate("ORGANISATION.DELETE_CONFIRM", {name: organisation.name})}}
{{translate("DELETE_CANNOT_UNDONE")}}

+

{{translate("ORGANISATION.DELETE_CONFIRM", {name: organisation.name})}}{% if delete_hard %}
{{translate("DELETE_CANNOT_UNDONE")}}{% endif %}