X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/96863f10cdec172975c0204c4725161e6dfef09c..d5407e3dc6ae49b3ef58b7609976b3305ca77859:/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..ccbc098 100644 --- a/Resources/views/security/denied.html.twig +++ b/Resources/views/security/denied.html.twig @@ -1,7 +1,8 @@ -{% extends '@RapsysAir/base.html.twig' %} +{% 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 %}