{typeToString(adventure.type)}
{isAdventureVisited(adventure) ? 'Visited' : 'Planned'}
{adventure.is_public ? 'Public' : 'Private'}
{#if adventure.location && adventure.location !== ''}
{/if}
{#if adventure.visits.length > 0}
{adventure.visits.length}
{adventure.visits.length > 1 ? 'visits' : '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))}
{#if adventure.type == 'visited' && user?.pk == adventure.user_id}
{/if}
{#if adventure.type == 'planned' && user?.pk == adventure.user_id}
{/if}
{#if adventure.collection && user?.pk == adventure.user_id}
{/if}
{#if !adventure.collection}
{/if}
{:else}
{/if}
{/if}
{#if type == 'link'}
{/if}