{#if isCollectionModalOpen} (isCollectionModalOpen = false)} /> {/if} {#if isWarningModalOpen} (isWarningModalOpen = false)} on:confirm={deleteAdventure} /> {/if}
{adventure.category?.display_name + ' ' + adventure.category?.icon}
{adventure.is_visited ? $t('adventures.visited') : $t('adventures.planned')}
{adventure.is_public ? $t('adventures.public') : $t('adventures.private')}
{#if unlinked}
{$t('adventures.out_of_range')}
{/if} {#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 !readOnly}
{#if type != 'link'} {#if adventure.user_id == user?.uuid || (collection && user && collection.shared_with?.includes(user.uuid))} {:else} {/if} {/if} {#if type == 'link'} {/if}
{/if}