Default display_name text to username
This commit is contained in:
parent
5b3f14ab13
commit
1ad0247660
@ -258,7 +258,7 @@ accountView subView currentUser accountInfo =
|
|||||||
, muteButton currentUser accountInfo.relationship account
|
, muteButton currentUser accountInfo.relationship account
|
||||||
, blockButton currentUser accountInfo.relationship account
|
, blockButton currentUser accountInfo.relationship account
|
||||||
, Common.accountAvatarLink True account
|
, Common.accountAvatarLink True account
|
||||||
, span [ class "account-display-name" ] [ text 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
|
||||||
, case accountInfo.relationship of
|
, case accountInfo.relationship of
|
||||||
|
@ -222,7 +222,7 @@ statusView context ({ account, content, media_attachments, reblog, mentions } as
|
|||||||
[ Common.accountAvatarLink False account
|
[ Common.accountAvatarLink False account
|
||||||
, div [ class "username" ]
|
, div [ class "username" ]
|
||||||
[ a accountLinkAttributes
|
[ a accountLinkAttributes
|
||||||
[ text account.display_name
|
[ text (if account.display_name=="" then account.username else account.display_name)
|
||||||
, span [ class "acct" ] [ text <| " @" ++ account.username ]
|
, span [ class "acct" ] [ text <| " @" ++ account.username ]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user