{extends file="widgets/little_widget_base.tpl"}

{block name=widget_name}dashboard_widget_new_customers{/block}

{block name=widget_title}{$new_customer_count} Neue Kunden{/block}

{block name=widget_content}
	{if $new_customers}
		<table>
			<thead>
				<tr>
					<th>Name</th>
					<th>E-Mail</th>
				</tr>
			</thead>
			<tbody>
				{foreach from=$new_customers item=customer}
					<tr>
						<td><a href="./index.php?admin_modul=admin_customer_editor&id={$customer->id}">{$customer->firstname} {$customer->surname}</a></td>
						<td style="text-align:right;">{$customer->email}</td>
					</tr>
				{/foreach}
			</tbody>
		</table>
	{else}
		<p>Keine neue Kunden</p>
	{/if}
{/block}