From 04e6b69b2b35c6a6a4f4334cd43afc06bd32bafa Mon Sep 17 00:00:00 2001 From: Maxime Leclercq Date: Tue, 8 Aug 2023 15:04:51 +0200 Subject: [PATCH] feat: add template events to make it easier to add information --- src/Resources/views/Admin/ContactRequest/Crud/show.html.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Resources/views/Admin/ContactRequest/Crud/show.html.twig b/src/Resources/views/Admin/ContactRequest/Crud/show.html.twig index 669095a..bc8930c 100644 --- a/src/Resources/views/Admin/ContactRequest/Crud/show.html.twig +++ b/src/Resources/views/Admin/ContactRequest/Crud/show.html.twig @@ -28,6 +28,7 @@
+ {{ sylius_template_event('monsieurbiz_contact.admin.contact_request.before_content', {'resource': resource}) }}

{{ 'monsieurbiz.contact_request.ui.email'|trans }}

{{ resource.email|default('') }} @@ -36,6 +37,7 @@

{{ resource.message|nl2br|default('')|raw }}
+ {{ sylius_template_event('monsieurbiz_contact.admin.contact_request.after_content', {'resource': resource}) }}
{% endblock %}