Add locked account and bot indicators
This commit is contained in:
parent
20199d02ad
commit
1506453fc0
@ -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 [])
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user