DonorDetail accessibility improvements 👀

ref #79
This commit is contained in:
Philipp Dormann 2021-02-25 17:31:26 +01:00
parent 0f93febd86
commit 019a0297a9

View File

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