From 8ee5d42da815cf96a0da34cd5b0811e529c425a3 Mon Sep 17 00:00:00 2001 From: Tim Date: Mon, 3 Jun 2019 13:53:52 +0200 Subject: [PATCH] Improve layout of error display --- Resources/views/errors.html.twig | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Resources/views/errors.html.twig b/Resources/views/errors.html.twig index 07b4891..078b58a 100644 --- a/Resources/views/errors.html.twig +++ b/Resources/views/errors.html.twig @@ -6,14 +6,16 @@ {% for log in logs %} {# @var log \App\Ardent\LoggerBundle\Entity\LogEntry #}
-
-
{{ log.levelName }} #{{ log.id }}
-
{{ log.createdAt | date('D, d M y H:i:s') }}
+
{{ log.levelName }} #{{ log.id }}
+

{{ log.message }}

- {% for context in log.context %} -

> {{ context }}

- {% endfor %} +
    + {% for context in log.context %} +
  • {{ context }}
  • + {% endfor %} +
+
{% endfor %} {% endblock %} \ No newline at end of file