templates/areas/content-social-embed/view.html.twig line 1

Open in your IDE?
  1. <section class="quote-area {{ not pimcore_checkbox('fullwidth').checked() ? 'container container-sm ' }} content-block js-fade-in {{ include('Layout/includes/editmode-box-classes.html.twig') }} {{ pimcore_checkbox('isSmall').data ? 'quote-area--small' : '' }} {{ styleModifier | default(null) }} {{ not pimcore_input('anchorTitle').empty ? 'js-anchor-nav__item' : '' }}" {% if not pimcore_input('anchorTitle').empty %}data-anchor-nav-title="{{ pimcore_input('anchorTitle').frontend }}"{% endif %}>
  2.     {% embed 'Includes/editmode-settings.html.twig' %}
  3.         {% block additionalInfo %}
  4.             <div>
  5.                 <label>
  6.                     {{ pimcore_checkbox('fullwidth') }} Full Width?
  7.     
  8.                     {{ pimcore_checkbox('titleBlockCentered') }} Center Headline?
  9.                 </label>
  10.             </div>
  11.         {% endblock %}
  12.     {% endembed %}
  13.     {{ include('Includes/title-block-editable.html.twig') }}
  14.     {% if editmode %}
  15.         {{ pimcore_textarea('embed-code', {'htmlspecialchars': false, 'placeholder': 'Enter embed code here!'}) }}
  16.     {% endif %}
  17.     <div class="{{ not pimcore_checkbox('fullwidth').checked() ? 'd-flex justify-content-xl-center overflow-x-xl-auto ' : '' }}">
  18.     {% if not editmode %}
  19.         {% embed('Layout/includes/consent-overlay.html.twig') with {
  20.             'service': 'marketing',
  21.             'buttonText': 'cookies.accept-marketing-cookies' |trans,
  22.             'overlayText': 'cookies.accept-cookies-to-show-external-content'|trans,
  23.             'classNames': {
  24.                 'wrapper': 'embed-responsive embed-responsive-16by9',
  25.                 'overlay': 'bg-light-bg d-flex justify-content-center flex-column align-items-center embed-responsive-item',
  26.                 'button': 'btn btn-primary-light mt-4 button-test',
  27.                 'template': '',
  28.             },
  29.             'jsClassNames': {
  30.                 'wrapper': 'js-consent',
  31.                 'overlay': 'js-consent__overlay',
  32.                 'button': 'js-consent__accept-btn',
  33.                 'template': 'js-consent__template',
  34.             }
  35.         } %}
  36.             {% block consentIframe %}
  37.                 {# add iframe or script to be wrapped here! #}
  38.                 {{ pimcore_textarea('embed-code', {'htmlspecialchars': false, 'placeholder': 'Enter embed code here!'}) }}
  39.             {% endblock %}
  40.         {% endembed %}
  41.     {% endif %}
  42.     </div>
  43. </section>