From e2e6bd0f3aaba3b4b0272b7e7c650d7922221185 Mon Sep 17 00:00:00 2001 From: Smaine Milianni Date: Fri, 23 Aug 2019 23:42:10 +0100 Subject: [PATCH] [WebProfiler] Improve HttpClient Panel --- .../Resources/views/Collector/http_client.html.twig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/http_client.html.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/http_client.html.twig index 8b9595142e554..7315b4eb9d0a1 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/http_client.html.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/http_client.html.twig @@ -8,6 +8,17 @@ {{ collector.requestCount }} {% endset %} + {% set text %} +
+ Total requests + {{ collector.requestCount }} +
+
+ HTTP errors + {{ collector.errorCount }} +
+ {% endset %} + {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }} {% endif %} {% endblock %}