Improve Activity stream spoiler (#4088)

This commit is contained in:
abcang
2017-07-07 04:31:03 +09:00
committed by Eugen Rochko
parent 6bf6d35637
commit f76e71825d
5 changed files with 28 additions and 11 deletions

View File

@ -22,8 +22,7 @@
- unless status.media_attachments.empty?
.status__attachments
- if status.sensitive?
= render partial: 'stream_entries/content_spoiler'
= render partial: 'stream_entries/content_spoiler', locals: { sensitive: status.sensitive? }
- if status.media_attachments.first.video?
.status__attachments__inner
.video-item