mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-27 16:59:37 +02:00
feat: enhance attachment handling with new localization strings and GPX upload tips
This commit is contained in:
parent
1b3cf6ab39
commit
6e28e5234e
13 changed files with 142 additions and 19 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue