mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
9 lines
263 B
Plaintext
9 lines
263 B
Plaintext
.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
|