Make user card group-aware
This commit is contained in:
parent
4777bec85f
commit
fd77270564
@ -124,11 +124,17 @@
|
|||||||
{{ $t(`general.role.${visibleRole}`) }}
|
{{ $t(`general.role.${visibleRole}`) }}
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
v-if="user.bot"
|
v-if="user.actor_type === 'Service'"
|
||||||
class="alert user-role"
|
class="alert user-role"
|
||||||
>
|
>
|
||||||
{{ $t('user_card.bot') }}
|
{{ $t('user_card.bot') }}
|
||||||
</span>
|
</span>
|
||||||
|
<span
|
||||||
|
v-if="user.actor_type === 'Group'"
|
||||||
|
class="alert user-role"
|
||||||
|
>
|
||||||
|
{{ $t('user_card.group') }}
|
||||||
|
</span>
|
||||||
</template>
|
</template>
|
||||||
<span v-if="user.locked">
|
<span v-if="user.locked">
|
||||||
<FAIcon
|
<FAIcon
|
||||||
|
@ -1131,6 +1131,7 @@
|
|||||||
"hide_repeats": "Hide repeats",
|
"hide_repeats": "Hide repeats",
|
||||||
"show_repeats": "Show repeats",
|
"show_repeats": "Show repeats",
|
||||||
"bot": "Bot",
|
"bot": "Bot",
|
||||||
|
"group": "Group",
|
||||||
"birthday": "Born {birthday}",
|
"birthday": "Born {birthday}",
|
||||||
"admin_menu": {
|
"admin_menu": {
|
||||||
"moderation": "Moderation",
|
"moderation": "Moderation",
|
||||||
|
Loading…
Reference in New Issue
Block a user