{$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 !== ''}
{/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))}
{#if adventure.collection && user?.pk == adventure.user_id}
{/if}
{#if !adventure.collection}
{/if}
{:else}
{/if}
{/if}
{#if type == 'link'}
{/if}