{# 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. #} {% set _preview = block('preview') %} {% set _form = block('form') %} {% set _show = block('show') %} {% set _list_table = block('list_table') %} {% set _list_filters = block('list_filters') %} {% set _tab_menu = block('tab_menu') %} {% set _content = block('content') %} {% set _title = block('title') %} {% set _breadcrumb = block('breadcrumb') %} {% set _actions = block('actions') %} {% set _navbar_title = block('navbar_title') %} {% block meta_tags %} {% endblock %} {% block stylesheets %} {% for stylesheet in admin_pool.getOption('stylesheets', []) %} {% endfor %} {% endblock %} {% block javascripts %} {% for javascript in admin_pool.getOption('javascripts', []) %} {% endfor %} {% endblock %} {{ 'Admin'|trans({}, 'SonataAdminBundle') }} {% if _title is not empty %} {{ _title|raw }} {% else %} {% if action is defined %} - {% for menu in admin.breadcrumbs(action) %} {% if not loop.first %} {% if loop.index != 2 %} > {% endif %} {{ menu.label }} {% endif %} {% endfor %} {% endif %} {% endif%} {% block sonata_header %}
{% block logo %} {% endblock %} {% block sonata_nav %} {% if admin_pool is defined %} {% endif %} {% endblock sonata_nav %}
{% endblock sonata_header %} {% block sonata_wrapper %}
{% block sonata_left_side %} {% endblock sonata_left_side %}
{% endblock sonata_wrapper %}