X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/4ceea167af6ab7ac32cb2fad607b533e25d85ab6..94dc9530e044a22082712263ac89d7ac677ed0d0:/Resources/views/security/denied.html.twig?ds=sidebyside diff --git a/Resources/views/security/denied.html.twig b/Resources/views/security/denied.html.twig index 4dbd719..706c4de 100644 --- a/Resources/views/security/denied.html.twig +++ b/Resources/views/security/denied.html.twig @@ -1,7 +1,8 @@ {% extends '@RapsysAir/base.html.twig' %} {% block content %}
-

{{ section }}

-

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

+

{{ title.page }}

+

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

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