{namespace neos=Neos\Neos\ViewHelpers}{namespace media=Neos\Media\ViewHelpers}
<html>
    <head>
        <title>{neos:backend.translate(id: 'assets', value: 'Assets')}</title>
        <meta charset="UTF-8"/>
    </head>
    <body>
        <div>
            <h1>{neos:backend.translate(id: 'assets', value: 'Assets')}</h1>
            <ul class="assets">
                <f:for each="{assets}" as="asset">
                    <li class="asset">
                        <label class="asset-label">{asset.label}</label>
                        (<span class="asset-identifier">{asset.identifier}</span>)
                        <a rel="thumbnail" href="{media:uri.thumbnail(asset: asset, preset: 'Neos.Media.Browser:Thumbnail', async: asyncThumbnails)}">{neos:backend.translate(id: 'thumbnail', value: 'thumbnail')}</a>
                        <f:link.action rel="asset-show" controller="Service\Assets" action="show" arguments="{identifier: asset.identifier}" format="html">{neos:backend.translate(id: 'show', value: 'show')}</f:link.action>
                    </li>
                </f:for>
            </ul>
        </div>
    </body>
</html>
