We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7db2c2e commit e265b88Copy full SHA for e265b88
1 file changed
app/views/notification_mailer/_status.html.haml
@@ -36,7 +36,10 @@
36
- if status.media_attachments.size > 0
37
%p
38
- status.media_attachments.each do |a|
39
- = link_to medium_url(a), medium_url(a)
+ - if status.local?
40
+ = link_to medium_url(a), medium_url(a)
41
+ - else
42
+ = link_to a.remote_url, a.remote_url
43
44
%p.status-footer
45
= link_to l(status.created_at), web_url("statuses/#{status.id}")
0 commit comments