1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-26 04:28:23 +09:00
whippy-edition/app/views/statuses/_attachment_list.html.haml

9 lines
263 B
Plaintext
Raw Normal View History

.attachment-list
.attachment-list__icon
= fa_icon '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