{#if $badge} {#if !ignoreLoading && !silentFail && $loadingStatus === "loading"} {:else if !silentFail && $loadingStatus === "error"} state.osmConnection.AttemptLogin()}> {:else if $loadingStatus === "logged-in"} {:else if !silentFail && $loadingStatus === "not-attempted"} {/if} {/if}