X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/1476978ece976e1992e3914abff25e0822af90be..9766283440328e29ddc18b6ed9928eb4593d5c41:/Resources/views/security/denied.html.twig diff --git a/Resources/views/security/denied.html.twig b/Resources/views/security/denied.html.twig index 51e5824..5ae63fb 100644 --- a/Resources/views/security/denied.html.twig +++ b/Resources/views/security/denied.html.twig @@ -1,7 +1,8 @@ -{% extends '@RapsysAir/body.html.twig' %} +{% 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 %}