<table>
	{$counter=0}
	{foreach $reportExportedFiles as $shortName=>$splFile}
		{$counter=$counter+1}
		<tbody class="file" data-fileId="{$shortName}">
			<tr class="main">
				<td class="counter">{$counter}.</td>
				<td class="label">
					<div class="filesize">{$splFile->getSize()|formatFilesize:1}</div>
					<div class="label">{$shortName}</div>
				</td>
				<td class="operations optionsBox sectionRow">
					<ul class="submenu submenu-depth-0 Simple">
						<li class="menuItem viewErrors" tooltip="{$absLang['operations']['viewErrors']['label']}"><var class="icon-preview"></var></li>
						<li class="menuItem export" tooltip="{$absLang['operations']['export']['label']}"><var class="icon-export"></var></li>
					</ul>
				</td>
			</tr>
			<tr class="errors">
				<td></td>
				<td colspan="2" class="messages">...</td>
			</tr>
		</tbody>
	{/foreach}

	{if $errorsReportExists}
		{$counter=$counter+1}
		<tbody class="file errors" data-fileId="errors.csv">
			<tr class="main">
				<td class="counter">{$counter}.</td>
				<td class="label">
					<div class="filesize">{$errorsReportSize|formatFilesize:1}</div>
					<div class="label">errors.csv</div>
				</td>
				<td class="operations optionsBox sectionRow">
					<ul class="submenu submenu-depth-0 Simple">
						<li class="menuItem viewErrors" tooltip="{$absLang['operations']['viewErrors']['label']}"><var class="icon-preview"></var></li>
						<li class="menuItem export" tooltip="{$absLang['operations']['export']['label']}"><var class="icon-export"></var></li>
					</ul>
				</td>
			</tr>
			<tr class="errors">
				<td></td>
				<td colspan="2" class="messages">...</td>
			</tr>
		</tbody>
	{/if}
</table>
