]> Raphaël G. Git Repositories - airbundle/commitdiff
New header layout
authorRaphaël Gertz <git@rapsys.eu>
Thu, 13 Oct 2022 13:17:13 +0000 (15:17 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 13 Oct 2022 13:17:13 +0000 (15:17 +0200)
Resources/views/location/view.html.twig

index d187053ba6d7b86108e66403572a5357a3500f8a..62cc1c5374729f6d4304a4062b027fa877220a3e 100644 (file)
@@ -1,16 +1,17 @@
 {% extends '@RapsysAir/body.html.twig' %}
 {% block content %}
-       <article id="dashboard">
+       <article>
                <header>
-                       <h2><a href="{{ canonical }}">{{ title }}</a></h2>
-                       <p>{{ description }}</p>
+                       <h2>{{ description }}</h2>
                </header>
                <div class="panel">
                        {% if calendar is defined and calendar %}
                                <div class="grid calendar seven">
                                        {% for date, day in calendar %}
                                                <section class="{{ day.class|join(' ') }}">
-                                                       <h3>{{ day.title }}</h3>
+                                                       <header>
+                                                               <h3>{{ day.title }}</h3>
+                                                       </header>
                                                        {% if day.sessions is not empty %}
                                                                <ul>
                                                                        {% for session in day.sessions %}