From aa0e009bff2892f71901e6875b3eaf0d4a0c1fc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dalibor=20Karlovi=C4=87?= Date: Sat, 28 Oct 2017 10:19:21 +0200 Subject: [PATCH] [bundle] streamline profiler view when no messages were sent --- pkg/enqueue-bundle/Resources/views/Profiler/panel.html.twig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/enqueue-bundle/Resources/views/Profiler/panel.html.twig b/pkg/enqueue-bundle/Resources/views/Profiler/panel.html.twig index 635a540d7..c11c21929 100644 --- a/pkg/enqueue-bundle/Resources/views/Profiler/panel.html.twig +++ b/pkg/enqueue-bundle/Resources/views/Profiler/panel.html.twig @@ -28,6 +28,7 @@ {% block panel %}

Sent messages

+ {% if collector.sentMessages|length > 0 %} @@ -59,4 +60,9 @@
+ {% else %} +
+

No messages were sent.

+
+ {% endif %} {% endblock %}