From 142f8bdfb534931bb4436358b8907d4bba14ede8 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Sat, 20 Mar 2021 22:28:55 +0100 Subject: [PATCH] add setting in chill.yaml to enable or disable new assets (bootstrap, ckeditor and forkawesome) --- .../Resources/views/layout.html.twig | 28 ++++++++++++------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/src/Bundle/ChillMainBundle/Resources/views/layout.html.twig b/src/Bundle/ChillMainBundle/Resources/views/layout.html.twig index 0d8f2a8b1..c3b105bac 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/layout.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/layout.html.twig @@ -29,11 +29,15 @@ {{ installation.name }} - {% block title %}{% endblock %} - - - - - + {% if active_bootstrap == 1 %} + + {% endif %} + {% if active_forkawesome == 1 %} + + {% endif %} + {% if active_ckeditor == 1 %} + + {% endif %} {% block css%}{% endblock %} @@ -149,10 +153,15 @@ - - - - + {% if active_bootstrap == 1 %} + + {% endif %} + {% if active_forkawesome == 1 %} + + {% endif %} + {% if active_ckeditor == 1 %} + + {% endif %} - {% block js%}{% endblock %}