]> Raphaël G. Git Repositories - airbundle/commitdiff
Replace body with base template
authorRaphaël Gertz <git@rapsys.eu>
Thu, 29 Feb 2024 15:21:06 +0000 (16:21 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 29 Feb 2024 15:21:06 +0000 (16:21 +0100)
New config layout
New title layout

Resources/views/default/index.html.twig
Resources/views/default/organizer_regulation.html.twig
Resources/views/default/regulation.html.twig
Resources/views/default/terms_of_service.html.twig

index a3560e040db6edf8620fb92f08fe64c2d2f2766b..8aeec00bdaf40dcb4b20fbfce8041fa0673c19c6 100644 (file)
@@ -1,4 +1,4 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <article>
                <header>
index 0f4039a0b76b2ad83450efc0fa01a2d97cf145af..3106e1fcb9475ba56c37cb68326cf54388eee4b6 100644 (file)
@@ -1,8 +1,8 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <article>
                <header>
-                       <h2><a href="{{ path('rapsys_air_organizer_regulation') }}">{{ title }}</a></h2>
+                       <h2><a href="{{ path('rapsys_air_organizer_regulation') }}">{{ title.page }}</a></h2>
                        <p>{{ description }}</p>
                </header>
                <nav>
index b94e180991f73deb22c3ab982a2d1cf260355f24..37e206d4f94000b9acee5d4d33aeafc790446513 100644 (file)
@@ -1,4 +1,4 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <section id="regulation">
                <h2><a href="{{ path('rapsys_air_regulation') }}">{{ section }}</a></h2>
index 1eb1e18fe6a70e033dde8559885fea161d2a5868..ffe3950154e78a5eda78bd9f8d0aeb6dae275bd9 100644 (file)
@@ -1,4 +1,4 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <article>
                <header>