{m.dashboard_title()}
{m.dashboard_subtitle()}
{m["dashboard_latestSnapshot"]()}
{#if data.latestSnapshot} {@const s = data.latestSnapshot}
{s.snapshot_date}
{#if s.overall_state}
{s.overall_state}
{/if}
{#if s.active_concerns.length}
{#each s.active_concerns as concern (concern)}
{concern.replace(/_/g, ' ')}
{/each}
{/if} {#if s.notes}
{s.notes}
{/if}
{:else}
{m["dashboard_noSnapshots"]()}
{/if}
{m["dashboard_recentRoutines"]()}
{#if data.recentRoutines.length}
{#each data.recentRoutines as routine (routine.id)}
{routine.routine_date}
{routine.part_of_day.toUpperCase()}
{/each}
{:else}
{m["dashboard_noRoutines"]()}
{/if}