Use correct reblog URLs and creation dates
This commit is contained in:
parent
180a5719b8
commit
5e9e974e95
|
@ -198,10 +198,10 @@ statusActionsView status currentUser showApp =
|
||||||
else
|
else
|
||||||
text ""
|
text ""
|
||||||
, a
|
, a
|
||||||
[ class baseBtnClasses, href (Maybe.withDefault "#" status.url), target "_blank" ]
|
[ class baseBtnClasses, href (Maybe.withDefault "#" sourceStatus.url), target "_blank" ]
|
||||||
[ Common.icon "time", text <| Common.formatDate status.created_at ]
|
[ Common.icon "time", text <| Common.formatDate sourceStatus.created_at ]
|
||||||
, if showApp then
|
, if showApp then
|
||||||
Common.appLink (baseBtnClasses ++ " applink") status.application
|
Common.appLink (baseBtnClasses ++ " applink") sourceStatus.application
|
||||||
else
|
else
|
||||||
text ""
|
text ""
|
||||||
]
|
]
|
||||||
|
@ -313,10 +313,7 @@ statusView context ({ account, content, media_attachments, reblog, mentions, pin
|
||||||
[ p [ class "status-info" ]
|
[ p [ class "status-info" ]
|
||||||
[ Common.icon "fire"
|
[ Common.icon "fire"
|
||||||
, a (accountLinkAttributes ++ [ class "reblogger" ])
|
, a (accountLinkAttributes ++ [ class "reblogger" ])
|
||||||
[ text <| " " ++ if account.display_name == "" then
|
[ text <| " "++(Common.accountDisplayName <| account) ]
|
||||||
account.username
|
|
||||||
else
|
|
||||||
account.display_name]
|
|
||||||
, text " boosted"
|
, text " boosted"
|
||||||
]
|
]
|
||||||
, Lazy.lazy3 statusView context reblog clickOpen
|
, Lazy.lazy3 statusView context reblog clickOpen
|
||||||
|
|
Loading…
Reference in New Issue