Make user card group-aware

This commit is contained in:
tusooa 2023-12-27 22:40:07 -05:00
parent 4777bec85f
commit fd77270564
No known key found for this signature in database
GPG Key ID: 42AEC43D48433C51
2 changed files with 8 additions and 1 deletions

View File

@ -124,11 +124,17 @@
{{ $t(`general.role.${visibleRole}`) }}
</span>
<span
v-if="user.bot"
v-if="user.actor_type === 'Service'"
class="alert user-role"
>
{{ $t('user_card.bot') }}
</span>
<span
v-if="user.actor_type === 'Group'"
class="alert user-role"
>
{{ $t('user_card.group') }}
</span>
</template>
<span v-if="user.locked">
<FAIcon

View File

@ -1131,6 +1131,7 @@
"hide_repeats": "Hide repeats",
"show_repeats": "Show repeats",
"bot": "Bot",
"group": "Group",
"birthday": "Born {birthday}",
"admin_menu": {
"moderation": "Moderation",