vendor/websignaal/cookie-popup/src/Resources/views/storefront/layout/cookie/cookie-permission.html.twig line 1

Open in your IDE?
  1. {% block layout_cookie_permission_inner %}
  2.     {% set acceptAllCookies = config('core.basicInformation.acceptAllCookies') %}
  3.     <div class="cookie-permission-container" data-cookie-permission="true">
  4.         <div class="cookie-permission-inner p-4">
  5.             <div class="container">
  6.                 <div class="row align-items-center">
  7.                     {% block layout_cookie_permission_inner_content %}
  8.                         <div class="col-12 cookie-permission-content mb-2">
  9.                             <h3>{{ "cookie.headline"|trans|sw_sanitize }}</h3>
  10.                             <p>{{ "cookie.message"|trans({
  11.                                 '%url%': path('frontend.cms.page', { id: config('core.basicInformation.privacyPage') })
  12.                             })|raw }}</p>
  13.                         </div>
  14.                     {% endblock %}
  15.                     {% block layout_cookie_permission_inner_button %}
  16.                         <div class="col-12">
  17.                             {% block layout_cookie_permission_inner_button_deny %}
  18.                                 <span class="d-none cookie-permission-button js-cookie-permission-button">
  19.                                     <button
  20.                                         type="submit"
  21.                                         class="w-100 mb-2 btn {{ acceptAllCookies ? 'btn-outline-danger' : 'btn-secondary' }}">
  22.                                         {{ "cookie.deny"|trans|sw_sanitize }}
  23.                                     </button>
  24.                                 </span>
  25.                             {% endblock %}
  26.                             {% block layout_cookie_permission_inner_button_configuration %}
  27.                                 <span class="js-cookie-configuration-button">
  28.                                     <button
  29.                                         type="submit"
  30.                                         class="w-100 mb-2 btn {{ acceptAllCookies ? 'btn-secondary' : 'btn-primary' }}">
  31.                                         {{ "cookie.configure"|trans|sw_sanitize }}
  32.                                     </button>
  33.                                 </span>
  34.                             {% endblock %}
  35.                             {% if acceptAllCookies %}
  36.                                 {% block layout_cookie_permission_inner_button_accept_all %}
  37.                                     <span class="js-cookie-accept-all-button">
  38.                                         <button
  39.                                             type="submit"
  40.                                             class="w-100 btn btn-primary">
  41.                                             {{ "cookie.acceptAll"|trans|sw_sanitize }}
  42.                                         </button>
  43.                                     </span>
  44.                                 {% endblock %}
  45.                             {% endif %}
  46.                         </div>
  47.                     {% endblock %}
  48.                 </div>
  49.             </div>
  50.         </div>
  51.     </div>
  52. {% endblock %}