<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:ppm="http://typo3.org/ns/Pixelant/PxaProductManager/ViewHelpers" data-namespace-typo3-fluid="true">
<f:comment><!-- File links --></f:comment>

<f:if condition="{files}">
    <f:for each="{files}" as="file">
        <div class="table-row">
            <div class="table-cell product-attributeName">{f:if(condition: file.originalResource.properties.title, then: '{file.originalResource.properties.title}', else: '{file.originalResource.properties.name}')}</div>
            <div class="table-cell product-attributeValue"><f:link.typolink parameter="{file.originalResource.publicUrl} _blank" class="btn btn-outline-primary">{f:if(condition: file.originalResource.properties.description, then: '{file.originalResource.properties.description}', else: 'herunterladen')}</f:link.typolink></div>
        </div>

    </f:for>
</f:if>
</html>
