Skip to content
Snippets Groups Projects
Commit 45173396 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Show media of reblogged statuses in public html view

parent 68eed8c6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment