{$t('adventures.attachment_management')}
{#if contentType === 'transportation'}
{$t('adventures.transportation_gpx_tip')}
{/if}
{$t('adventures.upload_attachment')}
{$t('adventures.upload')}
{#if contentType === 'transportation'}
{/if} {#if attachmentError}
{attachmentError}
{/if}
{#if attachments.length > 0}
{$t('adventures.current_attachments')}
{#each attachments as attachment (attachment.id)}
{#if attachmentToEdit?.id === attachment.id}
Editing
Save
{$t('adventures.cancel')}
{:else}
{#if attachment.file}
{attachment.name}
{:else}
{attachment.name}
{/if}
{attachment.extension.toUpperCase()}
{#if attachment.file}
{/if}
startEditingAttachment(attachment)} >
removeAttachment(attachment.id)} >
{/if}
{/each}
{:else}
{$t('adventures.no_attachments_uploaded_yet')}
{$t('adventures.upload_first_attachment')}
{/if}