templates/segments/popup-newsletter.html.twig line 1

Open in your IDE?
  1. {%  if editmode %}
  2.     {% do pimcore_head_link().appendStylesheet(asset('static/css/index.css')) %}
  3.     {{ pimcore_head_link() }}
  4. {% endif %}
  5. <div class="popup newsletter-success-popup {{ editmode ? 'popup--editmode' : '' }}">
  6.     <div class="popup__container">
  7.         <div  class="popup__img">
  8.             {% if editmode %}
  9.                 {{ pimcore_image("popupImage") }}
  10.             {% else %}
  11.                 {{ pimcore_image("popupImage").getThumbnail("popupImage").getHtml({alt: pimcore_image("blockFullImage").getAlt() }) | raw }}
  12.             {% endif %}
  13.         </div>
  14.         <div class="popup__info">
  15.             <div class="popup__close"></div>
  16.             <div class="popup__title">
  17.                 {{ pimcore_wysiwyg("popupTitle", {
  18.                     "toolbarGroups": [
  19.                         {
  20.                             "name": "WYSIWYG 1",
  21.                             "groups": [ "basicstyles", "colors" ],
  22.                         }
  23.                     ],
  24.                     "height": 200,
  25.                 }) }}
  26.             </div>
  27.     
  28.             <div class="popup__text">
  29.                 {{ pimcore_wysiwyg("popupText", {
  30.                     "toolbarGroups": [
  31.                         {
  32.                             "name": "WYSIWYG 1",
  33.                             "groups": [ "basicstyles" ],
  34.                         }
  35.                     ],
  36.                     "height": 120,
  37.                 }) }}
  38.             </div>
  39.         </div>
  40.     </div>
  41. </div>