custom/plugins/fourtwosixattachments/src/Resources/views/storefront/page/product-detail/attachment.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/utilities/offcanvas.html.twig' %}
  2. {% block utilities_offcanvas_content %}
  3.     {% block page_product_detail_attachment_container %}
  4.         <div class="product-detail-attachment tab-pane-container">
  5.             {% block page_product_detail_attachment_title %}
  6.                 <div class="h3 product-detail-attachment-title">
  7.                     {{ "detail.attachmentTitle"|trans|sw_sanitize }}
  8.                 </div>
  9.             {% endblock %}
  10.             {% block page_product_detail_attachment_list_container %}
  11.                 {% block page_product_detail_attachment_list_content %}
  12.                     {% block page_product_detail_attachments_table %}
  13.                         <table class="table table-striped product-detail-attachments-table">
  14.                             <tbody>
  15.                                 {# @var attachment \Fourtwosix\Attachments\Core\Content\Product\Aggregate\AttachmentEntity #}
  16.                                 {% for attachment in attachments %}
  17.                                     {% sw_include '@Storefront/storefront/page/product-detail/attachment-item.html.twig' %}
  18.                                 {% endfor %}
  19.                             </tbody>
  20.                         </table>
  21.                     {% endblock %}
  22.                 {% endblock %}
  23.             {% endblock %}
  24.         </div>
  25.     {% endblock %}
  26. {% endblock %}