Inbox {#if notificationCount !== undefined && notificationCount > 0} {notificationCount} {/if}
{#if notificationCount === undefined || notificationCount === 0}
Yay, inbox zero!
{/if} {#if notificationCount !== undefined && notificationCount > loadedNotificationCount()}
See {notificationCount - loadedNotificationCount()} new
{/if} {#if notificationCount && notificationCount > 0}
{/if}
{#if notificationCount !== undefined && notificationCount > 0}
{#each sortedRepos(notificationsByRepo, pinnedRepos, hiddenRepos) as repo}
{/if}