
<div class="document-list">
    {foreach item=file from=$shopArticle->documents}
    <div class="document-item">
        <div class="document-icon">
            <img src="{$PARENT_THEME_DIR}/media/images/pdf.png" alt="PDF" />
        </div>
        <div class="document-link">
            <a href="{$SHOP_DIR}documents/article/{$file->file_name}" target="_blank" title="{$file->alt}">
                {$shopArticle->name} - {if $file->alt}{$file->alt}{else}PDF-Dokument{/if}
            </a>
        </div>
    </div>
    {/foreach}
</div>
