feat: enhance attachment handling with new localization strings and GPX upload tips
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user