From b6cdabed188853582cb35fadd54de4fc3836d127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Arag=C3=B3n?= Date: Fri, 21 Sep 2018 11:39:20 -0500 Subject: [PATCH] upgrade layout content - #2681 --- .../views/Layout/layout_content.html.twig | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 src/ThemeBundle/Resources/views/Layout/layout_content.html.twig diff --git a/src/ThemeBundle/Resources/views/Layout/layout_content.html.twig b/src/ThemeBundle/Resources/views/Layout/layout_content.html.twig new file mode 100644 index 0000000000..9c9aff1477 --- /dev/null +++ b/src/ThemeBundle/Resources/views/Layout/layout_content.html.twig @@ -0,0 +1,59 @@ +{% extends "@ChamiloTheme/Layout/base-layout.html.twig" %} + +{#{% set pathInfo = path(#} + {#app.request.attributes.get('_route'),#} + {#app.request.attributes.get('_route_params'))#} +{#%}#} + +{% block page_content %} +
+ {% autoescape false %} + {% if plugin_main_top %} +
+ {{ plugin_main_top }} +
+ {% endif %} + + + {# Right column #} +
+ {% if plugin_content_top %} +
+ {{ plugin_content_top }} +
+ {% endif %} + + {% block chamilo_breadcrumb %} + {% include '@ChamiloTheme/Layout/breadcrumb.html.twig' %} + {% endblock %} + + {% block chamilo_messages %} + {# Flash messages #} + {% autoescape false %} + {% include '@ChamiloTheme/FlashMessage/render.html.twig' %} + {% endautoescape %} + {% endblock %} + + {% block chamilo_right_column %} + {% block content %} +
+ {{ content }} +
+ {% endblock %} + {% endblock %} + + {% if plugin_content_bottom %} +
+ {{ plugin_content_bottom }} +
+ {% endif %} +
+ + {% if plugin_main_bottom %} +
+ {{ plugin_main_bottom }} +
+ {% endif %} + {% endautoescape %} +
+{% endblock %}