Remove Atom feeds and old URLs in the form of GET /:username/updates/:id
(#11247)
This commit is contained in:
8
app/views/statuses/_attachment_list.html.haml
Normal file
8
app/views/statuses/_attachment_list.html.haml
Normal file
@ -0,0 +1,8 @@
|
||||
.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
|
Reference in New Issue
Block a user