diff --git a/src/components/donors/DonorsOverview.svelte b/src/components/donors/DonorsOverview.svelte index 91b9967b..86ddf16a 100644 --- a/src/components/donors/DonorsOverview.svelte +++ b/src/components/donors/DonorsOverview.svelte @@ -130,15 +130,19 @@ {#if d.responseType === 'DISTANCEDONATION'} {d.runner.firstname} {d.runner.middlename} {d.runner.lastname} + class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-600 text-white mr-1">{d.runner.firstname} + {d.runner.middlename} + {d.runner.lastname} {:else} Fixed: - {d.id} + class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-700 text-white mr-1">{$_('fixed-donation')}: + {(d.amount / 100) + .toFixed(2) + .toLocaleString('de-DE', { valute: 'EUR' })}€ {/if} {/each} - {:else}Donor has no associated donations.{/if} + {:else}{$_('donor-has-no-associated-donations')}{/if} {(donor.donationAmount / 100)