1
0
Fork 0

Add locked account and bot indicators

This commit is contained in:
Ryan Fox 2021-01-11 09:07:37 +00:00
parent 20199d02ad
commit 1506453fc0
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
1 changed files with 13 additions and 0 deletions

View File

@ -284,6 +284,19 @@ accountView subView currentUser accountInfo =
Nothing ->
text ""
, if account.bot then
span [ class "badge bot" ] [ text "Bot" ]
else
text ""
, if account.locked then
span
[
title "Locked account. The owner will manually approve their followers.",
style [ ( "margin-left", "2px") ]
]
[ Common.icon "lock" ]
else
text ""
]
, span [ class "account-note" ] (formatContent account.note [])
]