templates/mail/partials/shop-email-intro.html.twig line 32

Open in your IDE?
  1. <mj-section>
  2.     <mj-column>
  3.         <mj-text mj-class="toptitle text-center">
  4.             {{ pimcore_input('intro-topTitle', { 'placeholder': 'Top Title' }) }}
  5.         </mj-text>
  6.         <mj-text mj-class="h1 text-center">
  7.             {{ pimcore_input('intro-itle', { 'placeholder': 'Title' }) }}
  8.         </mj-text>
  9.         <mj-text css-class="wysiwyg">
  10.             {% embed 'mail/partials/editmode-box.html.twig' with { 'backgroundColor': 'lightsalmon' } %}
  11.                 {% block editmodeSettings %}
  12.                     SALUTATION
  13.                 {% endblock %}
  14.             {% endembed %}
  15.             {% if order|default(false) and not order.tenant == 'b2b' and not order.tenant == 'tour_operator' %}
  16.                 {{ ('email.salutation-' ~ order.customerSalutation ?: 'none')|trans({
  17.                     '_salutation_': order.customerSalutation ?: 'none',
  18.                     '_firstname_': order.customerFirstname,
  19.                     '_lastname_': order.customerLastname
  20.                 }) }}
  21.             {% endif %}
  22.             {{ pimcore_wysiwyg('intro-text', { 'placeholder': 'Text' })|raw }}
  23.             {% embed 'mail/partials/editmode-box.html.twig' %}
  24.                 {% block editmodeSettings %}
  25.                     Acquisition Type "pickup" / "ticketPickup"
  26.                 {% endblock %}
  27.             {% endembed %}
  28.             {% if editmode or (orderHasItemWithAcquisitionType(order, 'pickup') or orderHasItemWithAcquisitionType(order, 'ticketPickup')) %}
  29.                 {{ pimcore_wysiwyg('intro-text-pickup', { 'placeholder': 'Text' })|raw }}
  30.             {% endif %}
  31.             {% embed 'mail/partials/editmode-box.html.twig' %}
  32.                 {% block editmodeSettings %}
  33.                     Acquisition Type "reload"
  34.                 {% endblock %}
  35.             {% endembed %}
  36.             {% if editmode or orderHasItemWithAcquisitionType(order, 'reload') %}
  37.                 {{ pimcore_wysiwyg('intro-text-reload', { 'placeholder': 'Text' })|raw }}
  38.             {% endif %}
  39.             {% embed 'mail/partials/editmode-box.html.twig' %}
  40.                 {% block editmodeSettings %}
  41.                     Acquisition Type "swisspass"
  42.                 {% endblock %}
  43.             {% endembed %}
  44.             {% if editmode or orderHasItemWithAcquisitionType(order, 'swisspass') %}
  45.                 {{ pimcore_wysiwyg('intro-text-swisspass', { 'placeholder': 'Text' })|raw }}
  46.             {% endif %}
  47.             {% embed 'mail/partials/editmode-box.html.twig' %}
  48.                 {% block editmodeSettings %}
  49.                     Acquisition Type "request"
  50.                 {% endblock %}
  51.             {% endembed %}
  52.             {% if editmode or orderHasItemWithAcquisitionType(order, 'request') %}
  53.                     {{ pimcore_wysiwyg('intro-text-request', { 'placeholder': 'Text' })|raw }}
  54.             {% endif %}
  55.             {% embed 'mail/partials/editmode-box.html.twig' %}
  56.                 {% block editmodeSettings %}
  57.                     Acquisition Type "barcode"
  58.                 {% endblock %}
  59.             {% endembed %}
  60.             {% if editmode or orderHasItemWithAcquisitionType(order, 'barcode') %}
  61.                 {{ pimcore_wysiwyg('intro-text-barcode', { 'placeholder': 'Text' })|raw }}
  62.             {% endif %}
  63.             {% embed 'mail/partials/editmode-box.html.twig' %}
  64.                 {% block editmodeSettings %}
  65.                     Acquisition Type "eticket"
  66.                 {% endblock %}
  67.             {% endembed %}
  68.             {% if editmode or orderHasItemWithAcquisitionType(order, 'eticket') %}
  69.                 {{ pimcore_wysiwyg('intro-text-eticket', { 'placeholder': 'Text' })|raw }}
  70.             {% endif %}
  71.             {{ pimcore_wysiwyg('intro-text-buttom', { 'placeholder': 'Text' })|raw }}
  72.         </mj-text>
  73.         {{ include('mail/partials/button.html.twig', { 'align': 'center', 'prefix': 'intro-' }) }}
  74.     </mj-column>
  75. </mj-section>