fix: Precise the profile actor name linked to the invitation

Permit to know which profile to use when your got the error :
"You can't accept this invitation with this profile"

Solves #1795
This commit is contained in:
Massedil
2025-06-19 17:02:53 +02:00
parent 63758a444f
commit a0d56b5083
3 changed files with 6 additions and 3 deletions

View File

@@ -3,11 +3,14 @@
<div class="prose dark:prose-invert">
<i18n-t
tag="p"
keypath="You have been invited by {invitedBy} to the following group:"
keypath="You ({invitedActor}) have been invited by {invitedBy} to the following group:"
>
<template #invitedBy>
<b>{{ member?.invitedBy?.name }}</b>
</template>
<template #invitedActor>
<b>{{ member?.actor?.name || member?.actor?.preferredUsername }}</b>
</template>
</i18n-t>
</div>
<div class="flex justify-between gap-2">