Show a 'bot' badge on the service account page

This commit is contained in:
Sergey Suprunenko 2020-06-21 15:02:44 +02:00
parent 2451956d83
commit c04f8b2ccb
No known key found for this signature in database
GPG key ID: 5DCA7D1BE3914F9C
2 changed files with 15 additions and 4 deletions

View file

@ -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
- 'Copy link' button for statuses (in the ellipsis menu)
- Autocomplete domains from list of known instances
- 'Bot' settings option and badge
### Changed
- Registration page no longer requires email if the server is configured not to require it

View file

@ -70,10 +70,20 @@
>
@{{ user.screen_name }}
</router-link>
<template v-if="!hideBio">
<span
v-if="!hideBio && !!visibleRole"
v-if="!!visibleRole"
class="alert staff"
>{{ visibleRole }}</span>
>
{{ 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="!mergedConfig.hideUserStats && !hideBio"