{# 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 sonata_block.templates.block_base %} {% block block %}
{% if settings.title %}

{% if settings.icon %} {% endif %} {% if settings.translation_domain %} {{ settings.title|trans({}, settings.translation_domain) }} {% else %} {{ settings.title }} {% endif %}

{% endif %}
{% if media and settings.format %} {% media media, settings.format %} {% else %} {# no media selected or format defined... #} {% endif %}
{% endblock %}