mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Show media of reblogged statuses in public html view
This commit is contained in:
parent
68eed8c61f
commit
451733961b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue