src/MyBundle/Resources/views/Modules/cookies-warning.html.twig line 1

Open in your IDE?
  1. {% if noCookiesCSS is not defined %}
  2.     <link rel="stylesheet" href="{{ asset('/bundles/my/css/cookies-warning.css') }}">
  3. {% endif %}
  4. {% if usePortalCookiesCss is defined and usePortalCookiesCss == true %}
  5.     <link
  6.         rel="stylesheet"
  7.         href="{{ asset('bundles/my/css/portal-cookies-warning.css') }}"
  8.     >
  9. {% endif %}
  10. <noindex>
  11.     {% if app.request.locale == 'ru' %}
  12.         <section class="cookies cookies-left" id="cookies-warning" v-show="isInit">
  13.             <div class="cookies-warning-footer">
  14.                 <p class="text-muted">
  15.                     <span>ИСПОЛЬЗОВАНИЕ COOKIE<br></span>Я разрешаю
  16.                     {% if dealer is defined %}
  17.                         {{ dealer.nameByLocale(app.request.locale) }}
  18.                     {% else %}
  19.                         <span class="inherit-span" v-html="options.site"></span>
  20.                     {% endif %}
  21.                     использовать
  22.                     <a :href="options.policyUrl">файлы «cookie».</a> Ознакомиться с
  23.                     <a :href="options.policyUrl" target="_blank">Политикой конфиденциальности</a>.
  24.                 </p>
  25.                 <div class="text-right d-flex justify-content-center">
  26.                     <button class="btn btn-primary btn-cookie" @click.prevent="saveCookies">
  27.                         Принять
  28.                     </button>
  29.                 </div>
  30.             </div>
  31.         </section>
  32.     {% else %}
  33.         <section class="cookies cookies-left" id="cookies-warning" v-show="isInit">
  34.             <div class="cookies-warning-footer" >
  35.                 <p class="text-muted">
  36.                     <span>ВИКОРИСТАННЯ COOKIE<br></span>Я дозволяю
  37.                     {% if dealer is defined %}
  38.                         {{ dealer.nameByLocale(app.request.locale) }}
  39.                     {% else %}
  40.                         <span class="inherit-span" v-html="options.site"></span>
  41.                     {% endif %}
  42.                     використовувати
  43.                     <a :href="options.policyUrl">файли «cookie».</a> Ознайомтесь з
  44.                     <a :href="options.policyUrl" target="_blank">Політикою Конфіденційності</a>.
  45.                 </p>
  46.                 <div class="text-right d-flex justify-content-center">
  47.                     <button class="btn btn-primary btn-cookie" @click.prevent="saveCookies">
  48.                         ПОГОДЖУЮСЬ
  49.                     </button>
  50.                 </div>
  51.             </div>
  52.         </section>
  53.     {% endif %}
  54. </noindex>