From 99482edf0da9984585b807bf2fff45769aa40c56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 19 Jan 2023 23:21:28 +0100 Subject: [PATCH] Fixed: remove the "preload" component, and do not preload the period's json This didn't accelerated the loading of period's pages, and make the period's json loaded twice. --- composer.json | 1 - .../Resources/views/AccompanyingCourse/layout.html.twig | 4 ---- 2 files changed, 5 deletions(-) diff --git a/composer.json b/composer.json index 7a6b5cf7a..9447d6db5 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,6 @@ "symfony/translation": "^4.4", "symfony/twig-bundle": "^4.4", "symfony/validator": "^4.4", - "symfony/web-link": "*", "symfony/webpack-encore-bundle": "^1.11", "symfony/workflow": "^4.4", "symfony/yaml": "^4.4", diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/layout.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/layout.html.twig index f54cbbb33..bd16a1fbe 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/layout.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingCourse/layout.html.twig @@ -1,9 +1,5 @@ {% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %} -{% block head_custom %} - -{% endblock %} - {% block top_banner %} {{ include('@ChillPerson/AccompanyingCourse/banner.html.twig', { title: block('title') }) }} {% endblock %}