{#if user}
{#if showAvatar}
{:else}
{getInitials(user.name)}
{/if}
{user.name}
{#if showEmail}
{user.email}
{/if}
{/if}