Move locked account indicator before badges
This commit is contained in:
parent
e708f7197a
commit
a037cbe9ec
@ -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-display-name" ] [ text (if account.display_name=="" then account.username else account.display_name) ]
|
||||||
, span [ class "account-username" ]
|
, span [ class "account-username" ]
|
||||||
[ Common.accountLink True account
|
[ 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
|
, case accountInfo.relationship of
|
||||||
Just relationship ->
|
Just relationship ->
|
||||||
span []
|
span []
|
||||||
@ -375,15 +384,6 @@ accountView subView currentUser accountInfo =
|
|||||||
span [ class "badge bot" ] [ text "Bot" ]
|
span [ class "badge bot" ] [ text "Bot" ]
|
||||||
else
|
else
|
||||||
text ""
|
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 [])
|
, span [ class "account-note" ] (formatContent account.note [])
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user