From 194287111b2a8a768e51cafe726533b10751ef92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nu=C5=A1a=20Puk=C5=A1i=C4=8D?= Date: Sat, 25 Oct 2025 21:19:30 +0200 Subject: [PATCH] Hide raw data --- templates/event/index.html.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/event/index.html.twig b/templates/event/index.html.twig index 3f3fb31..184e2f6 100644 --- a/templates/event/index.html.twig +++ b/templates/event/index.html.twig @@ -175,8 +175,10 @@ + {% if is_granted('ROLE_ADMIN') %}
         {{ event|json_encode(constant('JSON_PRETTY_PRINT')) }}
     
+ {% endif %} {% endblock %}