From b0ca60fed5ddccf2d1e3df65e88f619490a7e3ae Mon Sep 17 00:00:00 2001 From: Albin Date: Tue, 18 Jun 2019 10:25:48 +0200 Subject: [PATCH 1/2] Fix compatibility with Symfony 4.3 The block name change from panelContent to panel --- Resources/views/SymfonyProfiler/translation.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/views/SymfonyProfiler/translation.html.twig b/Resources/views/SymfonyProfiler/translation.html.twig index 23d040f4..c8f81e95 100644 --- a/Resources/views/SymfonyProfiler/translation.html.twig +++ b/Resources/views/SymfonyProfiler/translation.html.twig @@ -6,7 +6,7 @@ {% import _self as translation_helper %} -{% block panelContent %} +{% block panel %}

Translation Metrics

From d3e05106befbbcdc9aca5ccccb985dee25662d13 Mon Sep 17 00:00:00 2001 From: Albin Date: Tue, 18 Jun 2019 12:21:01 +0200 Subject: [PATCH 2/2] Prevents BC break From https://github.com/symfony/web-profiler-bundle/commit/a92e0bafeec28bcb4160643e3c776fc36637ad33#diff-3e3f9f89f28a037c50c1714c5a21b3c4 --- Resources/views/SymfonyProfiler/translation.html.twig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Resources/views/SymfonyProfiler/translation.html.twig b/Resources/views/SymfonyProfiler/translation.html.twig index c8f81e95..a4e2f190 100644 --- a/Resources/views/SymfonyProfiler/translation.html.twig +++ b/Resources/views/SymfonyProfiler/translation.html.twig @@ -6,7 +6,7 @@ {% import _self as translation_helper %} -{% block panel %} +{% block panelContent %}

Translation Metrics

@@ -120,6 +120,10 @@ {% include "@Translation/SymfonyProfiler/javascripts.html.twig" %} {% endblock %} +{% block panel %} + {{ block('panelContent') }} +{% endblock %} + {% macro render_table(messages, checkedByDefault = false) %}