ref #78
This commit is contained in:
2021-02-20 19:13:33 +01:00
parent cb704c4551
commit 19393006ef
6 changed files with 39 additions and 25 deletions

View File

@@ -70,15 +70,11 @@
</h3>
<div class="mt-2 mb-6">
<p class="text-sm text-gray-500">
<!-- {$_(
'do-you-want-to-delete-the-organization-delete_org-name',
{
values: { orgname: delete_donor.name },
}
)}-->
Do you want to delete this donor with all related donations?
{$_(
'do-you-want-to-delete-this-donor-with-all-related-donations'
)}
<br />
All associated donations will get deleted as well
{$_('all-associated-donations-will-get-deleted-as-well')}
</p>
</div>
</div>
@@ -89,13 +85,13 @@
on:click={deleteDonor}
type="button"
class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm">
Confirm, delete donor with all donations
{$_('confirm-delete-donor-with-all-donations')}
</button>
<button
on:click={cancelDelete}
type="button"
class="mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm">
Cancel, keep donor
{$_('cancel-keep-donor')}
</button>
</div>
</div>