custom/plugins/econdWebAnalytics/src/Resources/views/storefront/component/privacy-notice.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/privacy-notice.html.twig' %}
  2. {% block component_privacy_notice %}
  3.     <div class="form-text privacy-notice">
  4.         {% block component_privacy_title %}
  5.             <strong>{{ "general.privacyTitle"|trans|sw_sanitize }}</strong><br/>
  6.         {% endblock %}
  7.         {% block component_privacy_dpi %}
  8.             {% if config('core.loginRegistration.requireDataProtectionCheckbox') == 1 %}
  9.                 <div class="{{ formCheckboxWrapperClass }} data-protection-information">
  10.                     {% block component_privacy_dpi_checkbox %}
  11.                         <input type="checkbox"
  12.                                class="{{ formCheckInputClass }} {% if formViolations.getViolations('/acceptedDataProtection') is not empty %} is-invalid{% endif %}"
  13.                                name="acceptedDataProtection"
  14.                                required="required"
  15.                                value="1"
  16.                                id="acceptedDataProtection"
  17.                                {% if data.get('acceptedDataProtection') %}checked="checked"{% endif %}>
  18.                     {% endblock %}
  19.                     {% block component_privacy_dpi_label %}
  20.                         <label class="custom-control-label no-validation"
  21.                                for="acceptedDataProtection">
  22.                             {# @deprecated tag:v6.5.0 - Translation parameter %url% will be removed, use %privacyUrl% and %tosUrl% instead #}
  23.                             {{ "general.privacyNotice"|trans({
  24.                                 '%url%': path('frontend.cms.page',{ id: config('core.basicInformation.privacyPage') }),
  25.                                 '%privacyUrl%': path('frontend.cms.page',{ id: config('core.basicInformation.privacyPage') }),
  26.                                 '%tosUrl%': path('frontend.cms.page',{ id: config('core.basicInformation.tosPage') })
  27.                             })|raw }}
  28.                             {{ "general.required"|trans|sw_sanitize }}
  29.                         </label>
  30.                     {% endblock %}
  31.                 </div>
  32.             {% else %}
  33.                 <div class="data-protection-information">
  34.                     {% block component_privacy_label %}
  35.                         <label>
  36.                             {# @deprecated tag:v6.5.0 - Translation parameter %url% will be removed, use %privacyUrl% and %tosUrl% instead #}
  37.                             {{ "general.privacyNotice"|trans({
  38.                                 '%url%': path('frontend.cms.page',{ id: config('core.basicInformation.privacyPage') }),
  39.                                 '%privacyUrl%': path('frontend.cms.page',{ id: config('core.basicInformation.privacyPage') }),
  40.                                 '%tosUrl%': path('frontend.cms.page',{ id: config('core.basicInformation.tosPage') })
  41.                             })|raw }}
  42.                         </label>
  43.                     {% endblock %}
  44.                 </div>
  45.             {% endif %}
  46.         {% endblock %}
  47.     </div>
  48. {% endblock %}