{namespace neos=Neos\Neos\ViewHelpers}
<f:if condition="{assets}">
	<f:then>
		<ul{attributes -> f:format.raw()}>
			<f:for each="{assets}" as="asset">
				<li><a href="{f:uri.resource(resource: asset.resource)}">{asset.resource.filename}</a></li>
			</f:for>
		</ul>
	</f:then>
	<f:else>
		<f:if condition="{neos:rendering.inEditMode()}">
			<ul{attributes -> f:format.raw()}>
				<li>
					{f:translate(id: 'content.emptyAssetList', package: 'Neos.NodeTypes.AssetList', source: 'NodeTypes/AssetList')}
				</li>
			</ul>
		</f:if>
	</f:else>
</f:if>
