vendor/shopware/storefront/Resources/views/storefront/component/pseudo-modal.html.twig line 1

Open in your IDE?
  1. <div class="js-pseudo-modal-template">
  2.     <div class="modal fade"
  3.          tabindex="-1"
  4.          role="dialog">
  5.         <div class="modal-dialog"
  6.              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.                         {% block product_detail_zoom_modal_close_button_content %}
  20.                             {# @deprecated tag:v6.5.0 - Bootstrap v5 creates "x" symbol automatically via SVG background #}
  21.                             {% if not feature('v6.5.0.0') %}
  22.                                 <span aria-hidden="true">
  23.                                     {% sw_icon 'x' style { 'size': 'sm' } %}
  24.                                 </span>
  25.                             {% endif %}
  26.                         {% endblock %}
  27.                     </button>
  28.                 </div>
  29.                 <div class="modal-body js-pseudo-modal-template-content-element">
  30.                 </div>
  31.             </div>
  32.         </div>
  33.     </div>
  34. </div>