vendor/pimcore/pimcore/bundles/CoreBundle/Resources/views/Areabrick/wrapper.html.twig line 1

Open in your IDE?
  1. {# @var brick \Pimcore\Extension\Document\Areabrick\AreabrickInterface #}
  2. {# @var info \Pimcore\Model\Document\Editable\Area\Info #}
  3. {# @var templating \Symfony\Component\Templating\EngineInterface #}
  4. {# @var editmode bool #}
  5. {# @var viewTemplate string #}
  6. {# @var viewParameters array #}
  7. {# @var editableDialog \Pimcore\Extension\Document\Areabrick\EditableDialogBoxConfiguration #}
  8. {% if editmode and isAreaBlock %}
  9.     <div class="pimcore_area_entry pimcore_block_entry" {{ editmodeOuterAttributes|raw }} {{ editmodeGenericAttributes|raw }}>
  10.         <div class="pimcore_area_buttons" {{ editmodeGenericAttributes|raw }}>
  11.             <div class="pimcore_area_buttons_inner">
  12.                 <div class="pimcore_block_plus_up" {{ editmodeGenericAttributes|raw }}></div>
  13.                 <div class="pimcore_block_plus" {{ editmodeGenericAttributes|raw }}></div>
  14.                 <div class="pimcore_block_minus" {{ editmodeGenericAttributes|raw }}></div>
  15.                 <div class="pimcore_block_up" {{ editmodeGenericAttributes|raw }}></div>
  16.                 <div class="pimcore_block_down" {{ editmodeGenericAttributes|raw }}></div>
  17.                 <div class="pimcore_block_type" {{ editmodeGenericAttributes|raw }}></div>
  18.                 <div class="pimcore_block_options" {{ editmodeGenericAttributes|raw }}></div>
  19.                 <div class="pimcore_block_visibility" {{ editmodeGenericAttributes|raw }}></div>
  20.                 {% if editableDialog %}
  21.                     <div class="pimcore_block_dialog" {{ editmodeGenericAttributes|raw }} {{ editableDialogAttributes|raw }}></div>
  22.                 {% endif %}
  23.                 <div class="pimcore_block_label" {{ editmodeGenericAttributes|raw }}></div>
  24.                 <div class="pimcore_block_clear" {{ editmodeGenericAttributes|raw }}></div>
  25.             </div>
  26.         </div>
  27.         {% if editableDialog %}
  28.             <template id="dialogBoxConfig-{{ editableDialog.id }}">{{ editableDialog|json_encode() }}</template>
  29.             {{ dialogHtml|raw }}
  30.         {% endif %}
  31. {% endif %}
  32.         {% block areabrickWrapper %}
  33.             {% block areabrickOpenTag %}
  34.                 {{ brick.htmlTagOpen(info) | raw }}
  35.             {% endblock %}
  36.                 {% block areabrickFrontend %}
  37.                     {{ templating.render(viewTemplate, viewParameters) | raw }}
  38.                 {% endblock %}
  39.             {% block areabrickCloseTag %}
  40.                 {{ brick.htmlTagClose(info) | raw }}
  41.             {% endblock %}
  42.         {% endblock %}
  43. {% if editmode and isAreaBlock %}
  44.     </div>
  45. {% endif %}