{#if uniqueAlerts.length == 1}

There is one active alert

{:else if uniqueAlerts.length > 1}

There are {numberAsWord(uniqueAlerts.length)} active alerts

{:else}

There are no active alerts

{/if}

V

{#if displayAlerts}
{#each uniqueAlerts as msg}

{@html msg}

{/each}
{/if}