custom/plugins/tad-theme/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="custom-control custom-checkbox data-protection-information">
  10.                     {% block component_privacy_dpi_checkbox %}
  11.                         <input type="checkbox"
  12.                                class="custom-control-input {% 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.                             {{ "general.privacyNotice"|trans({
  23.                                 '%url%': path('frontend.cms.page',{ id: config('core.basicInformation.privacyPage') })
  24.                             })|raw }}
  25.                             {{ "general.required"|trans|sw_sanitize }}
  26.                         </label>
  27.                     {% endblock %}
  28.                 </div>
  29.             {% else %}
  30.                 <div class="data-protection-information">
  31.                                           
  32.                     {% block component_privacy_label %}
  33.                     <div class="custom-control custom-checkbox register-different-shipping">
  34.                         <input type="checkbox"
  35.                                 class="custom-control-input js-different-shipping-checkbox"
  36.                                 name="privacyNotice"
  37.                                 required="required"
  38.                                 value="1"
  39.                                 id="privacyNotice">
  40.                         <label class="custom-control-label" for="privacyNotice">
  41.                         {{"Ich habe die"}}
  42.                    <a data-toggle="modal" data-url="/widgets/cms/b75cca1add3249c2bcc8fac0f01959c7" href="/widgets/cms/b75cca1add3249c2bcc8fac0f01959c7" title="Datenschutzbestimmungen">Datenschutzbestimmungen</a>
  43.                         {{"zur Kenntnis genommen und bin mit ihnen einverstanden."}}
  44.                             {#{ "general.privacyNotice"|trans({
  45.                                  '%privacyUrl%': path('frontend.cms.page',{ id: config('core.basicInformation.privacyPage') }),
  46.                                 '%tosUrl%': path('frontend.cms.page',{ id: config('core.basicInformation.tosPage') })
  47.                             })|raw }#}
  48.                         </label>
  49.                     </div>
  50.                     <div class="custom-control custom-checkbox register-different-shipping">
  51.                         <input type="checkbox"
  52.                                 class="custom-control-input js-different-shipping-checkbox"
  53.                                 name="agb"
  54.                                 required="required"
  55.                                 value="1"
  56.                                 id="agb">
  57.                         <label class="custom-control-label" for="agb">
  58.                         {{"Ich habe die"}}
  59.                         <a data-toggle="modal" data-url="/widgets/cms/8a4099d86da146a4beb7d61c3d5f3787" href="/widgets/cms/8a4099d86da146a4beb7d61c3d5f3787" title="AGB">AGB</a>
  60.                         {{"zur Kenntnis genommen und gelesen und bin mit ihnen einverstanden."}}
  61.                             
  62.                         </label>
  63.                     </div>
  64.                       
  65.                     {% endblock %}
  66.                 </div>
  67.                 
  68.             {% endif %}
  69.         {% endblock %}
  70.     </div>
  71. {% endblock %}