From 626c4dd5d65bef91af60650c3f2863df2efe73be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Thu, 16 Nov 2023 22:38:01 +0100 Subject: [PATCH] Use a custom delete confirmation message for part associations --- templates/parts/edit/_associated_parts.html.twig | 2 +- translations/messages.en.xlf | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/parts/edit/_associated_parts.html.twig b/templates/parts/edit/_associated_parts.html.twig index beef96be..9ed0fd88 100644 --- a/templates/parts/edit/_associated_parts.html.twig +++ b/templates/parts/edit/_associated_parts.html.twig @@ -1,7 +1,7 @@ {% form_theme form with ['parts/edit/edit_form_styles.html.twig'] %} {% import 'components/collection_type.macro.html.twig' as collection %} -
+
{% for assoc in form.associated_parts_as_owner %} diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 3a8863dc..3f451cc8 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -11921,5 +11921,11 @@ Please note, that you can not impersonate a disabled user. If you try you will g Custom type + + + part_association.edit.delete.confirm + Do you really want to delete this association? This can not be undone. + +