custom/plugins/WbfkExtensions/src/Resources/views/storefront/component/pseudo-modal.html.twig line 1

Open in your IDE?
  1. {% if context.salesChannel.translated.customFields.wbfk_buyOnRequest_form is not empty %}
  2. <div class="js-pseudo-modal-template">
  3.     <div class="modal fade"
  4.          tabindex="-1"
  5.          role="dialog">
  6.         <div class="modal-dialog buyOnRequestForm" role="document">
  7.             <div class="modal-content">
  8.                 <div class="modal-header only-close">
  9.                     {# @deprecated tag:v6.5.0 - h5 will be changed to div because it causes incorrect semantics on all pages which include pseudo-modal.html.twig #}
  10.                     {% if feature('V6_5_0_0') %}
  11.                         <div class="modal-title js-pseudo-modal-template-title-element h5"></div>
  12.                     {% else %}
  13.                         <h5 class="modal-title js-pseudo-modal-template-title-element"></h5>
  14.                     {% endif %}
  15.                     <button type="button"
  16.                             class="{{ modalCloseBtnClass }} close"
  17.                     {{ dataBsDismissAttr }}="modal"
  18.                     aria-label="Close">
  19.                         {# @deprecated tag:v6.5.0 - Bootstrap v5 creates "x" symbol automatically via SVG background #}
  20.                         {% if not feature('v6.5.0.0') %}
  21.                             <span aria-hidden="true">
  22.                                     {% sw_icon 'x' style { 'size': 'sm' } %}
  23.                                 </span>
  24.                         {% endif %}
  25.                     </button>
  26.                 </div>
  27.                 <div class="modal-body js-pseudo-modal-template-content-element">
  28.                 </div>
  29.             </div>
  30.         </div>
  31.     </div>
  32. </div>
  33. {% else %}
  34.     <div class="js-pseudo-modal-template">
  35.         <div class="modal fade"
  36.              tabindex="-1"
  37.              role="dialog">
  38.             <div class="modal-dialog"
  39.                  role="document">
  40.                 <div class="modal-content">
  41.                     <div class="modal-header only-close">
  42.                         {# @deprecated tag:v6.5.0 - h5 will be changed to div because it causes incorrect semantics on all pages which include pseudo-modal.html.twig #}
  43.                         {% if feature('V6_5_0_0') %}
  44.                             <div class="modal-title js-pseudo-modal-template-title-element h5"></div>
  45.                         {% else %}
  46.                             <h5 class="modal-title js-pseudo-modal-template-title-element"></h5>
  47.                         {% endif %}
  48.                         <button type="button"
  49.                                 class="{{ modalCloseBtnClass }} close"
  50.                         {{ dataBsDismissAttr }}="modal"
  51.                         aria-label="Close">
  52.                         {% block product_detail_zoom_modal_close_button_content %}
  53.                             {# @deprecated tag:v6.5.0 - Bootstrap v5 creates "x" symbol automatically via SVG background #}
  54.                             {% if not feature('v6.5.0.0') %}
  55.                                 <span aria-hidden="true">
  56.                                     {% sw_icon 'x' style { 'size': 'sm' } %}
  57.                                 </span>
  58.                             {% endif %}
  59.                         {% endblock %}
  60.                         </button>
  61.                     </div>
  62.                     <div class="modal-body js-pseudo-modal-template-content-element">
  63.                     </div>
  64.                 </div>
  65.             </div>
  66.         </div>
  67.     </div>
  68. {% endif %}