1
0
Fork 0

Move locked account indicator before badges

This commit is contained in:
Ryan Fox 2021-01-17 00:20:37 +00:00
parent e708f7197a
commit a037cbe9ec
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
1 changed files with 9 additions and 9 deletions

View File

@ -350,6 +350,15 @@ accountView subView currentUser accountInfo =
, span [ class "account-display-name" ] [ text (if account.display_name=="" then account.username else account.display_name) ]
, span [ class "account-username" ]
[ Common.accountLink True account
, if account.locked then
span
[
title "Locked account. The owner will manually approve their followers.",
style [ ( "margin-left", "4px") ]
]
[ Common.icon "lock" ]
else
text ""
, case accountInfo.relationship of
Just relationship ->
span []
@ -375,15 +384,6 @@ accountView subView currentUser accountInfo =
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 [])
]