mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-27 10:43:43 +01:00
9 lines
263 B
Text
9 lines
263 B
Text
|
.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
|