mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 07:49:29 +00:00
8 lines
293 B
Plaintext
8 lines
293 B
Plaintext
- if status.with_media?
|
|
- if status.ordered_media_attachments.first.video?
|
|
= render_video_component(status, visible: false)
|
|
- elsif status.ordered_media_attachments.first.audio?
|
|
= render_audio_component(status)
|
|
- else
|
|
= render_media_gallery_component(status, visible: false)
|