feat: enhance attachment handling with new localization strings and GPX upload tips

This commit is contained in:
Sean Morley
2025-01-21 19:33:48 -05:00
parent 1b3cf6ab39
commit 6e28e5234e
13 changed files with 142 additions and 19 deletions

View File

@@ -75,13 +75,15 @@
{attachment.name}
</span>
<div class="flex space-x-2">
<button
class="btn btn-sm btn-secondary btn-outline"
type="button"
on:click={() => window.open(attachment.file, '_blank')}
>
{$t('notes.open')}
</button>
{#if !allowEdit}
<button
class="btn btn-sm btn-secondary btn-outline"
type="button"
on:click={() => window.open(attachment.file, '_blank')}
>
{$t('notes.open')}
</button>
{/if}
{#if allowEdit}
<button
class="btn btn-sm btn-info btn-outline"