diff --git a/src/components/scans/ScansEmptyState.svelte b/src/components/scans/ScansEmptyState.svelte index 6afaa185..7caf7d76 100644 --- a/src/components/scans/ScansEmptyState.svelte +++ b/src/components/scans/ScansEmptyState.svelte @@ -1,11 +1,11 @@
-
+
There are no scans yet
Add your fist scan
donations are being loaded
+{$_('this-might-take-a-moment')}
++ {$_('donor')} + | ++ {$_('runner')} + | ++ {$_('amount-per-kilometer')} + | ++ {$_('donation-amount')} + | ++ {$_('action')} + | +|
---|---|---|---|---|---|
+ + | +
+ {#if donation.runner}
+
+ {:else}
+
+ {$_('fixed-donation')}
+
+ {/if}
+ |
+
+ {#if donation.amountPerDistance}
+
+ {(donation.amountPerDistance / 100)
+ .toFixed(2)
+ .toLocaleString('de-DE', { valute: 'EUR' })}€
+
+ {:else}
+
+ {$_('fixed-donation')}
+
+ {/if}
+ |
+
+
+ {(donation.amount / 100)
+ .toFixed(2)
+ .toLocaleString('de-DE', { valute: 'EUR' })}€
+
+ |
+ {#if active_deletes[donation.id] === true}
+ + + + | + {:else} ++ {$_('details')} + {#if store.state.jwtinfo.userdetails.permissions.includes('DONATION:DELETE')} + + {/if} + | + {/if} +