diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-10 18:23:08 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-10-10 18:23:08 +0200 |
commit | 451733961b6499edafbbb6bae206671e564b31b8 (patch) | |
tree | fb08774818b997889e92658634087fd754f4bcca /app | |
parent | 68eed8c61fd4dd5d7f5ed119848ccb4694140be5 (diff) |
Show media of reblogged statuses in public html view
Diffstat (limited to 'app')
-rw-r--r-- | app/views/stream_entries/_status.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stream_entries/_status.html.haml b/app/views/stream_entries/_status.html.haml index 4e74fa131..fc21e6c45 100644 --- a/app/views/stream_entries/_status.html.haml +++ b/app/views/stream_entries/_status.html.haml @@ -32,7 +32,7 @@ .content= Formatter.instance.format(proper_status(status)) %ul.media-attachments - - status.media_attachments.each do |media| + - (status.reblog? ? status.reblog : status).media_attachments.each do |media| %li.transparent-background= link_to '', media.file.url, style: "background-image: url(#{media.file.url(:small)})", target: '_blank' - if include_threads |