dashboard.html.twig 1019 B

123456789101112131415161718192021222324252627282930313233
  1. {#
  2. This file is part of the Sonata package.
  3. (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  4. For the full copyright and license information, please view the LICENSE
  5. file that was distributed with this source code.
  6. #}
  7. {% extends base_template %}
  8. {% block title %}{% trans from 'SonataAdminBundle' %}title_dashboard{% endtrans %}{% endblock%}
  9. {% block breadcrumb %}{% endblock %}
  10. {% block content %}
  11. <div class="row">
  12. <div class="span9">
  13. {% for block in blocks %}
  14. {% if block.position == 'left' %}
  15. {{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
  16. {% endif %}
  17. {% endfor %}
  18. </div>
  19. <div class="span10">
  20. {% for block in blocks %}
  21. {% if block.position == 'right' %}
  22. {{ sonata_block_render({ 'type': block.type, 'settings': block.settings}) }}
  23. {% endif %}
  24. {% endfor %}
  25. </div>
  26. </div>
  27. {% endblock %}