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

Resources/views/user/index.html.twig
Resources/views/user/view.html.twig

index ab1bcba7e80cd5c0a1710f3a9e57951d31647640..b70f941112e8ab05eb6285aac7653102f6c4b171 100644 (file)
@@ -1,8 +1,9 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <article>
                <header>
 {% block content %}
        <article>
                <header>
-                       <h2>{{ description }}</h2>
+                       <h2>{{ title.page }}</h2>
+                       <p>{{ description }}</p>
                </header>
                <div class="panel">
                        {% if groups is defined and groups %}
                </header>
                <div class="panel">
                        {% if groups is defined and groups %}
index 62cc1c5374729f6d4304a4062b027fa877220a3e..9c478790110ab01c2d0f418bc0357870ef992f06 100644 (file)
@@ -1,8 +1,9 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <article>
                <header>
 {% block content %}
        <article>
                <header>
-                       <h2>{{ description }}</h2>
+                       <h2>{{ title.page }}</h2>
+                       <p>{{ description }}</p>
                </header>
                <div class="panel">
                        {% if calendar is defined and calendar %}
                </header>
                <div class="panel">
                        {% if calendar is defined and calendar %}