{% capture append = "oxidBlock_content" %} {% set template_title = "MY_DOWNLOADS"|translate %}
{% include "page/account/inc/account_menu.html.twig" with {active_link: "downloads"} %}
{% if oView.getOrderFilesList() %}
    {% for oOrderArticle in oView.getOrderFilesList() %}
  1. {% for oOrderFile in oOrderArticle.oxorderfiles %}
    {{ oOrderArticle.oxarticletitle }} – {{ translate({ ident: "ORDER_NUMBER" }) }}: {{ oOrderArticle.oxordernr }}, {{ oOrderArticle.oxorderdate|date_format("%d.%m.%Y") }}
    {% if oOrderFile.isPaid() or not oOrderFile.oxorderfiles__oxpurchasedonly.value %} {{ translate({ ident: "DD_DOWNLOADS_DOWNLOAD_TOOLTIP" }) }} {% endif %}
    {% if oOrderFile.isPaid() or not oOrderFile.oxorderfiles__oxpurchasedonly.value %} {% if oOrderFile.isValid() %} {{ translate({ ident: "DD_FILE_ATTRIBUTES_FILENAME", suffix: "COLON" }) }} {{ oOrderFile.oxorderfiles__oxfilename.value }}
    {% include "page/account/inc/file_attributes.html.twig" %} {% else %} {{ oOrderFile.oxorderfiles__oxfilename.value }} {{ translate({ ident: "DOWNLOAD_LINK_EXPIRED_OR_MAX_COUNT_RECEIVED" }) }} {% endif %} {% else %} {{ oOrderFile.oxorderfiles__oxfilename.value }} {{ translate({ ident: "DOWNLOADS_PAYMENT_PENDING" }) }} {% endif %}
    {% endfor %}
  2. {% endfor %}
{% else %}

{{ translate({ ident: "DOWNLOADS_EMPTY" }) }}

{% endif %}
{{ insert_tracker({title: template_title}) }} {% endcapture %} {% include "layout/page.html.twig" %}