{#if isCollectionModalOpen} (isCollectionModalOpen = false)} /> {/if} {#if adventure.image && adventure.image !== ''} {:else} {/if} {adventure.name} {#if adventure.type == 'visited'} Visited {:else} Planned {/if} {adventure.is_public ? 'Public' : 'Private'} {#if adventure.location && adventure.location !== ''} {adventure.location} {/if} {#if adventure.date && adventure.date !== ''} {new Date(adventure.date).toLocaleDateString()} {/if} {#if adventure.activity_types && adventure.activity_types.length > 0} {#each adventure.activity_types as activity} {activity} {/each} {/if} goto(`/adventures/${adventure.id}`)} >Open Details Edit Adventure {#if adventure.type == 'visited'} Change to Plan {/if} {#if adventure.type == 'planned'} Mark Visited {/if} {#if adventure.collection} Remove from Collection {/if} {#if !adventure.collection} (isCollectionModalOpen = true)} >Add to Collection {/if} {#if type == 'link'} {/if} Delete
{adventure.location}
{new Date(adventure.date).toLocaleDateString()}