{% sw_extends '@Storefront/storefront/utilities/offcanvas.html.twig' %}
{% block utilities_offcanvas_content %}
{% block page_product_detail_downloads_container %}
<div class="tab-pane-container">
{% block page_product_detail_downloads_title %}
{% if page.product.wexoProductDownloads.showTitle %}
<div class="h3 product-detail-properties-title">
{{ "wexoProductDownloads.detail.title"|trans }} "{{ page.product.translated.name }}"
</div>
{% endif %}
{% endblock %}
{% block page_product_detail_downloads_content %}
<ul>
{% for mediaFile in page.product.wexoProductDownloads.files %}
{% block page_product_detail_downloads_content_file %}
<li>
<a href="{{ mediaFile.url }}" target="_blank"
title="{% if page.product.wexoProductDownloads.showDownloadTitlePrefix %}{{ "wexoProductDownloads.detail.prefix"|trans }}{% endif %}{{ mediaFile.title }}"
{% if page.product.wexoProductDownloads.forceLinkDownload %}download{% endif %}>
{% block page_product_detail_downloads_content_file_name %}
{% if page.product.wexoProductDownloads.showDownloadTitlePrefix %}{{ "wexoProductDownloads.detail.prefix"|trans }}{% endif %}{{ mediaFile.title }}
{% endblock %}
</a>
</li>
{% endblock %}
{% endfor %}
</ul>
{% endblock %}
</div>
{% endblock %}
{% endblock %}