forked from AkkomaGang/akkoma-fe
Show a 'bot' badge on the service account page
This commit is contained in:
parent
2451956d83
commit
c04f8b2ccb
2 changed files with 15 additions and 4 deletions
|
@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
- Added private notifications option for push notifications
|
- Added private notifications option for push notifications
|
||||||
- 'Copy link' button for statuses (in the ellipsis menu)
|
- 'Copy link' button for statuses (in the ellipsis menu)
|
||||||
- Autocomplete domains from list of known instances
|
- Autocomplete domains from list of known instances
|
||||||
|
- 'Bot' settings option and badge
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Registration page no longer requires email if the server is configured not to require it
|
- Registration page no longer requires email if the server is configured not to require it
|
||||||
|
|
|
@ -70,10 +70,20 @@
|
||||||
>
|
>
|
||||||
@{{ user.screen_name }}
|
@{{ user.screen_name }}
|
||||||
</router-link>
|
</router-link>
|
||||||
<span
|
<template v-if="!hideBio">
|
||||||
v-if="!hideBio && !!visibleRole"
|
<span
|
||||||
class="alert staff"
|
v-if="!!visibleRole"
|
||||||
>{{ visibleRole }}</span>
|
class="alert staff"
|
||||||
|
>
|
||||||
|
{{ visibleRole }}
|
||||||
|
</span>
|
||||||
|
<span
|
||||||
|
v-if="user.bot"
|
||||||
|
class="alert staff"
|
||||||
|
>
|
||||||
|
bot
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
<span v-if="user.locked"><i class="icon icon-lock" /></span>
|
<span v-if="user.locked"><i class="icon icon-lock" /></span>
|
||||||
<span
|
<span
|
||||||
v-if="!mergedConfig.hideUserStats && !hideBio"
|
v-if="!mergedConfig.hideUserStats && !hideBio"
|
||||||
|
|
Loading…
Reference in a new issue