From: Raphaƫl Gertz Date: Thu, 12 Aug 2021 15:43:14 +0000 (+0200) Subject: Update to new config tree X-Git-Tag: 0.2.0~86 X-Git-Url: https://git.rapsys.eu/airbundle/commitdiff_plain/11d08dbe226c1fc3ff6b08fa8ad06700cf2e6489?hp=afe9a4a1e36cab2e5fd0b352131f20765dc48a66 Update to new config tree Add trace for admin --- diff --git a/Resources/views/security/denied.html.twig b/Resources/views/security/denied.html.twig index 51e5824..ccbc098 100644 --- a/Resources/views/security/denied.html.twig +++ b/Resources/views/security/denied.html.twig @@ -1,7 +1,8 @@ {% extends '@RapsysAir/body.html.twig' %} {% block content %}
-

{{ section }}

-

{% if message %}{{ message }}{% else %}{% trans %}Access denied{% endtrans %}{% endif %}

+

{{ page.title }}

+

{% if message is defined %}{{ message }}{% else %}{% trans %}Access denied{% endtrans %}{% endif %}

+ {% if is_granted('ROLE_ADMIN') %}{% if trace is defined %}
{{ trace }}
{% endif %}{% endif %}
{% endblock %}