{# This file is part of the Sonata package. (c) Thomas Rabaix For the full copyright and license information, please view the LICENSE file that was distributed with this source code. #} {% extends base_template %} {% block title %}{{ 'title_dashboard'|trans({}, 'SonataAdminBundle') }}{% endblock%} {% block breadcrumb %}{% endblock %} {% block content %} {{ sonata_block_render_event('sonata.admin.dashboard.top', { 'admin_pool': admin_pool }) }} {% if blocks.top|length > 0 %}
{% for block in blocks.top %}
{{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
{% endfor %}
{% endif %}
{% set has_center = false %}
{% for block in blocks.left %} {{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }} {% endfor %}
{% if blocks.center|length > 0 %}
{% for block in blocks.center %} {{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }} {% endfor %}
{% endif %}
{% for block in blocks.right %} {{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }} {% endfor %}
{% if blocks.bottom|length > 0 %}
{% for block in blocks.bottom %}
{{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
{% endfor %}
{% endif %} {{ sonata_block_render_event('sonata.admin.dashboard.bottom', { 'admin_pool': admin_pool }) }} {% endblock %}