{seed ? 'Import as a goal' : 'New goal'}{named ? ` in ${named.name}` : ''}

{#if eligible.length === 0} {#if space.index.projects.length === 0}

This space has no projects yet. An admin writes the first one, on the space's own page.

{:else}

Every project in this space is archived. Add one on the space's own page.

{/if}
{:else if !writable} {#if space.fixture}

The demo is read-only. Open a live space to write one.

{:else if account.status === 'signed-in'}

Only active members can write goals in this space.

{:else}

to write a goal.

{/if}
{:else} {#if seed}

◉ {importWarning(filer)}

{/if}
{#if eligible.length > 1 && (!seed || preselected === '')}
{/if}
{#if error}

{error}

{/if} {/if}