28 lines
758 B
Smarty
Raw Permalink Normal View History

2016-01-04 12:49:26 +01:00
{if $subscribeFriends AND $subscribeFriends|@count > 0}
<p>
{l s='Here are sponsored friends who have accepted your invitation:' mod='invite'}
</p>
<table class="std">
<thead>
<tr>
<th class="first_item">&nbsp;</th>
<th class="item">{l s='E-mail' mod='invite'}</th>
<th class="last_item">{l s='Inscription date' mod='invite'}</th>
</tr>
</thead>
<tbody>
{foreach from=$subscribeFriends item=subscribeFriend name=myLoop}
<tr>
<td>{$smarty.foreach.myLoop.iteration}.</td>
<td>{$subscribeFriend.email}</td>
<td>{dateFormat date=$subscribeFriend.date_upd full=1}</td>
</tr>
{/foreach}
</tbody>
</table>
{else}
<p class="warning">
{l s='No sponsored friends have accepted your invitation yet.' mod='invite'}
</p>
{/if}