{showMessage}

{if $recipientsList}
	<table class="list" width="100%" style="margin:0px">
		<tr>
			<th width="1%">#</th>
			<th>{$_LANG.reportsManagement.admin.extraOptions.emailRecipients.tplTh.user}</th>
			<th width="1%">{$_LANG.reportsManagement.admin.extraOptions.emailRecipients.tplTh.opt}</th>
		</tr>
		{foreach from=$recipientsList item=elem key=key}
			<tr class="{cycle values="odd,even"}">
				<td class="nowrap">{counter name="recipientsList"}.</td>
				<td>
					{if $elem.name}
						<div class="bold {if !$elem.email}noEmail help{/if}" {if !$elem.email}tooltip="{$_LANG.reportsManagement.admin.extraOptions.emailRecipients.tpl.noAddr}"{/if}>{$elem.name}</div>
					{/if}
					{if $elem.email}
						<div>[{$elem.email}]</div>
					{/if}
				</td>
				<td>
					<a href="#;" class="icon-delete" tooltip="{$_LANG.reportsManagement.admin.extraOptions.emailRecipients.tpl.delAddrTooltip}" onclick="ajaxIframeReload('addressesListDiv', 'index_load_extraOptions_recipientsList.php?deleteItem={$elem.id}');"></a>
				</td>
			</tr>
		{/foreach}
	</table>
{/if}
