1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-27 04:58:37 +09:00
mastodon/app/views/statuses/_attachment_list.html.haml

9 lines
271 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.file.url
= link_to File.basename(url), url, title: media.description