1
0
Fork 0

Use correct reblog URLs and creation dates

This commit is contained in:
Ryan Fox 2022-01-21 19:25:01 -08:00
parent 180a5719b8
commit 5e9e974e95
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
1 changed files with 4 additions and 7 deletions

View File

@ -198,10 +198,10 @@ statusActionsView status currentUser showApp =
else
text ""
, a
[ class baseBtnClasses, href (Maybe.withDefault "#" status.url), target "_blank" ]
[ Common.icon "time", text <| Common.formatDate status.created_at ]
[ class baseBtnClasses, href (Maybe.withDefault "#" sourceStatus.url), target "_blank" ]
[ Common.icon "time", text <| Common.formatDate sourceStatus.created_at ]
, if showApp then
Common.appLink (baseBtnClasses ++ " applink") status.application
Common.appLink (baseBtnClasses ++ " applink") sourceStatus.application
else
text ""
]
@ -313,10 +313,7 @@ statusView context ({ account, content, media_attachments, reblog, mentions, pin
[ p [ class "status-info" ]
[ Common.icon "fire"
, a (accountLinkAttributes ++ [ class "reblogger" ])
[ text <| " " ++ if account.display_name == "" then
account.username
else
account.display_name]
[ text <| " "++(Common.accountDisplayName <| account) ]
, text " boosted"
]
, Lazy.lazy3 statusView context reblog clickOpen