From 9766283440328e29ddc18b6ed9928eb4593d5c41 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 29 Feb 2024 16:14:58 +0100 Subject: [PATCH 1/1] Replace body with base template New title layout --- Resources/views/security/denied.html.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/views/security/denied.html.twig b/Resources/views/security/denied.html.twig index 053a832..5ae63fb 100644 --- a/Resources/views/security/denied.html.twig +++ b/Resources/views/security/denied.html.twig @@ -1,7 +1,7 @@ -{% extends '@RapsysAir/body.html.twig' %} +{% extends '@RapsysAir/base.html.twig' %} {% block content %}
-

{{ title }}

+

{{ 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 %}
-- 2.41.1