{#if typeof globalvars.user !== 'undefined' } {#each alertsvar as alert, i} {/each} {/if}