parent
651c3d643c
commit
fc65b691df
@ -1,3 +1,3 @@ |
||||
.media-spoiler |
||||
.media-spoiler>< |
||||
%span= t('stream_entries.sensitive_content') |
||||
%span= t('stream_entries.click_to_show') |
||||
|
@ -1,4 +1,4 @@ |
||||
.media-item |
||||
.media-item>< |
||||
= link_to media.remote_url.blank? ? media.file.url(:original) : media.remote_url, style: media.image? ? "background-image: url(#{media.file.url(:original)})" : '', target: '_blank', rel: 'noopener', class: "u-#{media.video? || media.gifv? ? 'video' : 'photo'}" do |
||||
- unless media.image? |
||||
%video{ src: media.file.url(:original), autoplay: true, loop: true }/ |
||||
|
Loading…
Reference in new issue