Updated donor badege styleing

ref #79
This commit is contained in:
Nicolai Ort 2021-02-25 17:07:06 +01:00
parent fb5a64c251
commit fcf01ba677

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-gray-100 text-gray-800">{d.runner.firstname}
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-600 text-gray-50">{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-gray-100 text-gray-800">{$_('fixed-donation')}:
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-600 text-gray-50">{$_('fixed-donation')}:
{(d.amount / 100)
.toFixed(2)
.toLocaleString('de-DE', { valute: 'EUR' })}€</a>