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

Resources/views/session/edit.html.twig
Resources/views/session/index.html.twig
Resources/views/session/view.html.twig
Resources/views/snippet/add.html.twig
Resources/views/snippet/edit.html.twig

index 6a9abfb2891f4ea089a832d01e421322d0511850..4ec1b679da550361a66e9d6bf56e40d0206cff2d 100644 (file)
@@ -1,4 +1,4 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <section id="form">
                <header>
index 62cc1c5374729f6d4304a4062b027fa877220a3e..9c478790110ab01c2d0f418bc0357870ef992f06 100644 (file)
@@ -1,8 +1,9 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <article>
                <header>
-                       <h2>{{ description }}</h2>
+                       <h2>{{ title.page }}</h2>
+                       <p>{{ description }}</p>
                </header>
                <div class="panel">
                        {% if calendar is defined and calendar %}
index 1466a96ad845f928cb0999d100e5ab3709df21e5..2520555a8f663e860421d269bcf400c0e5cbaf0b 100644 (file)
@@ -1,8 +1,9 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <article class="session{% if session.locked is defined and session.locked %} locked{% elseif session.application.canceled is defined and session.application.canceled %} canceled{% endif %}">
                <header>
-                       <h2>{{ description }}</h2>
+                       <h2>{{ title.page }}</h2>
+                       <p>{{ description }}</p>
                </header>
                <div class="panel">
                        <div class="grid three">
index fddf9a34c183ce2647bff1d188ff9294ab3ef5c5..741be09b6f1b60dbcfd33cfb4269a1458c8f1146 100644 (file)
@@ -1,7 +1,10 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <section id="form">
-               <h2>{{ section }}</h2>
+               <header>
+                       <h2>{{ title.page }}</h2>
+                       <p>{{ description }}</p>
+               </header>
                {{ form_start(form) }}
                        <div>
                                {{ form_row(form.description) }}
index fddf9a34c183ce2647bff1d188ff9294ab3ef5c5..741be09b6f1b60dbcfd33cfb4269a1458c8f1146 100644 (file)
@@ -1,7 +1,10 @@
-{% extends '@RapsysAir/body.html.twig' %}
+{% extends '@RapsysAir/base.html.twig' %}
 {% block content %}
        <section id="form">
-               <h2>{{ section }}</h2>
+               <header>
+                       <h2>{{ title.page }}</h2>
+                       <p>{{ description }}</p>
+               </header>
                {{ form_start(form) }}
                        <div>
                                {{ form_row(form.description) }}