vendor/store.shopware.com/moorlfoundation/src/Resources/views/plugin/moorl-foundation/component/download-list/index.html.twig line 1

Open in your IDE?
  1. {% set allowDownload = true %}
  2. {% set tunnelDownload = true %}
  3. {% set showDownloads = true %}
  4. {% set showImage = true %}
  5. {% if downloads.count > 0 and showDownloads %}
  6.     <div class="moorl-download-list">
  7.         <ul class="moorl-download-list-items">
  8.             {% for file in downloads %}
  9.                 {% sw_include '@Storefront/plugin/moorl-foundation/component/download-list/download-item.html.twig' %}
  10.             {% endfor %}
  11.         </ul>
  12.     </div>
  13. {% elseif emptyText %}
  14.     {% sw_include "@Storefront/storefront/utilities/alert.html.twig" with {
  15.         type: "primary",
  16.         content: emptyText ?: "moorl-foundation.search.notAvailable"|trans
  17.     } %}
  18. {% endif %}