upgrade layout content - #2681

pull/2715/head
Alex Aragón 7 years ago
parent 8dda058509
commit b6cdabed18
  1. 59
      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 %}
<div class="row">
{% autoescape false %}
{% if plugin_main_top %}
<div id="plugin_main_top" class="col-md-12">
{{ plugin_main_top }}
</div>
{% endif %}
{# Right column #}
<div class="col-12 col-md-12">
{% if plugin_content_top %}
<div id="plugin_content_top">
{{ plugin_content_top }}
</div>
{% 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 %}
<section class="right_column">
{{ content }}
</section>
{% endblock %}
{% endblock %}
{% if plugin_content_bottom %}
<div id="plugin_content_bottom">
{{ plugin_content_bottom }}
</div>
{% endif %}
</div>
{% if plugin_main_bottom %}
<div id="plugin_main_bottom" class="col-md-12">
{{ plugin_main_bottom }}
</div>
{% endif %}
{% endautoescape %}
</div>
{% endblock %}
Loading…
Cancel
Save