]> Raphaël G. Git Repositories - airbundle/commitdiff
New page title schema
authorRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 08:23:23 +0000 (10:23 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Sat, 28 Aug 2021 08:23:23 +0000 (10:23 +0200)
Resources/views/security/denied.html.twig

index ccbc098fdcdaeca6562aacd04116ffdc73ec3bc4..053a832be21048cf41c943d4db713eb81b208a2f 100644 (file)
@@ -1,7 +1,7 @@
 {% extends '@RapsysAir/body.html.twig' %}
 {% block content %}
 <section id="content">
-       <h2><a href="{{ path('rapsys_air') }}">{{ page.title }}</a></h2>
+       <h2><a href="{{ path('rapsys_air') }}">{{ title }}</a></h2>
        <p>{% if message is defined %}{{ message }}{% else %}{% trans %}Access denied{% endtrans %}{% endif %}</p>
        {% if is_granted('ROLE_ADMIN') %}{% if trace is defined %}<pre>{{ trace }}</pre>{% endif %}{% endif %}
 </section>