From 67694ffe8c6a7e1c482a1e717b08f8ac586aa4a0 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sun, 20 Feb 2022 23:04:44 +0100 Subject: [PATCH] add no result when views and referers are empty --- core/Resources/views/analytic/stats.html.twig | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/core/Resources/views/analytic/stats.html.twig b/core/Resources/views/analytic/stats.html.twig index b1bf18d..8886d4a 100644 --- a/core/Resources/views/analytic/stats.html.twig +++ b/core/Resources/views/analytic/stats.html.twig @@ -56,6 +56,17 @@ {{ path }} {{ views }} + {% else %} + + +
+ +
+
+ {{ 'No result'|trans }} +
+ + {% endfor %} @@ -96,6 +107,17 @@ + {% else %} + + +
+ +
+
+ {{ 'No result'|trans }} +
+ + {% endfor %}