{% trans_default_domain 'admin' %}
{% if zone.cols|length > 0 %} {% for col in zone.cols %}
{% if 'edit'|moduleActive(allModules) %} {% endif %} {% if 'col-edit'|moduleActive(allModules) %} {% set mediaRelation = col.mediaRelations is defined ? col.mediaRelations|i18n(website().configuration.locale) : null %} {% if mediaRelation and mediaRelation.media and mediaRelation.media.filename %} {% endif %} {% endif %} {% if 'edit'|moduleActive(allModules) %} {% set color = 'background'|color(website(), col.backgroundColor) %} {% set hexa = color ? color.color : null %} {% endif %} {% if 'delete'|moduleActive(allModules) %} {% endif %} {% if 'edit'|moduleActive(allModules) %} {% endif %}
{% include 'admin/core/layout/blocks.html.twig' %}
{% if 'edit'|moduleActive(allModules) and layoutConfiguration is defined and layoutConfiguration %}
{% endif %}
{% endfor %} {% endif %} {% if 'edit'|moduleActive(allModules) %}
{% endif %}