<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default" />
<f:section name="Main">

	<f:if condition="{files}">
		<ul class="ce-uploads">
			<f:for each="{files}" as="file" iteration="fileIterator">
				<li class="ce-uploads-item">
                    <a href="{file.publicUrl}" {f:if(condition:data.target,then: ' target="{data.target}"')}{f:if(condition: file.title, then: ' title="{file.title}"')} class="text-decoration-none">
                        <i class="ce-uploads-icon icon-file-{file.extension}"></i>
                        <span class="ce-uploads-fileName">{f:if(condition: file.properties.title, then: file.properties.title, else: file.name) -> f:format.htmlspecialchars()}</span>
                        <f:if condition="{data.filelink_size}">
                            &nbsp;<small class="ce-uploads-fileinfo">(.{file.extension}, {file.properties.size -> f:format.bytes()})</small>
                        </f:if>
                    </a>
                    <f:if condition="{file.properties.description}">
                        <f:if condition="{data.uploads_description}">
                            <div class="ce-uploads-description">{file.properties.description}</div>
                        </f:if>
                    </f:if>

				</li>
			</f:for>
		</ul>
	</f:if>

</f:section>
</html>
