{t('team.title')}

{#if phase === 'ready' && link}

{t('team.opens', { label: link.label, groups: link.groups.join(', ') })}

{t('team.until', { date: i18n.date(link.expiresAt) })}

{#if link.signedInAs}

{t('team.signed', { name: link.signedInAs })}

{:else}

{t('team.name.hint')}

{/if} {#if error}{/if}
{:else}

{t(`team.${phase}` as Key)}

{/if}