mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-13 02:36:36 -05:00
9 lines
293 B
Plaintext
9 lines
293 B
Plaintext
.attachment-list
|
|
.attachment-list__icon
|
|
= material_symbol 'link'
|
|
%ul.attachment-list__list
|
|
- attachments.each do |media|
|
|
%li
|
|
- url = media.remote_url.presence || media_proxy_url(media.id, :original)
|
|
= link_to File.basename(url), url, title: media.description
|