Merge upstream!! #64 <3 <3
This commit is contained in:
@ -18,13 +18,11 @@
|
||||
- unless status.media_attachments.empty?
|
||||
- if status.media_attachments.first.video?
|
||||
.video-player><
|
||||
- if status.sensitive?
|
||||
= render partial: 'stream_entries/content_spoiler'
|
||||
= render partial: 'stream_entries/content_spoiler', locals: { sensitive: status.sensitive? }
|
||||
%video.u-video{ src: status.media_attachments.first.file.url(:original), loop: true }
|
||||
- else
|
||||
.detailed-status__attachments><
|
||||
- if status.sensitive?
|
||||
= render partial: 'stream_entries/content_spoiler'
|
||||
= render partial: 'stream_entries/content_spoiler', locals: { sensitive: status.sensitive? }
|
||||
.status__attachments__inner<
|
||||
- status.media_attachments.each do |media|
|
||||
= render partial: 'stream_entries/media', locals: { media: media }
|
||||
|
Reference in New Issue
Block a user