{% extends template('page', 'Combodo\\iTop\\Portal\\Brick\\AbstractBrick') %}

{% block pPageBodyClass %}{{ parent() }} page_aggregate_page_brick{% endblock %}

{% block pMainHeaderTitle %}{{ oBrick.GetTitle()|dict_s }}{% endblock %}

{% block pMainContent %}
    <section class="ipb-page--tiles-flex-wrapper">
        {% for brick in aggregatepage_bricks %}
            {% if aTilesRendering[brick.GetId] is defined %}
                {{ aTilesRendering[brick.GetId]|raw }}
            {% else %}
                {% include '' ~ brick.GetTemplatePath('tile') with {brick: brick} only %}
            {% endif %}
        {% endfor %}
    </section>
{% endblock %}
