{tableHeader} {foreach from=$accounts item=account} {foreachelse} {/foreach}
Switch to...
{if $account->getId() eq $loggedAccountId} {$account->getName()|escape} {else} {$account->getName()|escape} {/if}
No accounts yet.