Compare commits

...

2 Commits

Author SHA1 Message Date
e4b908ecde Merge branch 'feature/79-donation_management' of git.odit.services:lfk/frontend into feature/79-donation_management
# Conflicts:
#	src/components/donors/DonorDetail.svelte
2021-02-25 17:08:23 +01:00
247ba40309 Updated donor badege styleing
ref #79
2021-02-25 17:08:13 +01:00

View File

@ -200,13 +200,13 @@
{#if d.responseType === 'DISTANCEDONATION'}
<a
href="../donations/{d.id}"
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-600 text-gray-50">{d.runner.firstname}
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-600 text-gray-50 mr-1">{d.runner.firstname}
{d.runner.middlename}
{d.runner.lastname}</a>
{:else}
<a
href="../donations/{d.id}"
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-600 text-gray-50">{$_('fixed-donation')}:
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-600 text-gray-50 mr-1">{$_('fixed-donation')}:
{(d.amount / 100)
.toFixed(2)
.toLocaleString('de-DE', { valute: 'EUR' })}€</a>