{#if isCollectionModalOpen} (isCollectionModalOpen = false)} /> {/if} {#if isWarningModalOpen} (isWarningModalOpen = false)} on:confirm={deleteAdventure} /> {/if}
{$t(`adventures.activities.${adventure.type}`)}
{adventure.is_visited ? $t('adventures.visited') : $t('adventures.planned')}
{adventure.is_public ? $t('adventures.public') : $t('adventures.private')}
{#if adventure.location && adventure.location !== ''}

{adventure.location}

{/if} {#if adventure.visits.length > 0}

{adventure.visits.length} {adventure.visits.length > 1 ? $t('adventures.visits') : $t('adventures.visit')}

{/if} {#if adventure.activity_types && adventure.activity_types.length > 0}
    {#each activityTypes as activity}
    {activity}
    {/each}
{/if}
{#if type != 'link'} {#if adventure.user_id == user?.pk || (collection && user && collection.shared_with.includes(user.uuid))} {:else} {/if} {/if} {#if type == 'link'} {/if}