Show acct instead of username where applicable
This allows users to see the instance used by the poster in the timeline, and I like the look of it better.
This commit is contained in:
parent
2fc0cbb852
commit
5043e89837
@ -42,7 +42,7 @@ accountLink external account =
|
|||||||
[ href account.url
|
[ href account.url
|
||||||
, accountHref
|
, accountHref
|
||||||
]
|
]
|
||||||
[ text <| "@" ++ account.username ]
|
[ text <| "@" ++ account.acct ]
|
||||||
|
|
||||||
|
|
||||||
accountAvatarLink : Bool -> Account -> Html Msg
|
accountAvatarLink : Bool -> Account -> Html Msg
|
||||||
|
@ -218,7 +218,7 @@ statusView context ({ account, content, media_attachments, reblog, mentions } as
|
|||||||
, div [ class "username" ]
|
, div [ class "username" ]
|
||||||
[ a accountLinkAttributes
|
[ a accountLinkAttributes
|
||||||
[ text (if account.display_name=="" then account.username else 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.acct ]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
, Lazy.lazy2 statusContentView context status
|
, Lazy.lazy2 statusContentView context status
|
||||||
|
Loading…
x
Reference in New Issue
Block a user