Преглед на файлове

Fix NotificationMailer failing when receiving mention with media from remote instance (#11765)

master^2
mayaeh преди 4 години
committed by Eugen Rochko
родител
ревизия
e265b8887d
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. +4
    -1
      app/views/notification_mailer/_status.html.haml

+ 4
- 1
app/views/notification_mailer/_status.html.haml Целия файл

@@ -36,7 +36,10 @@
- if status.media_attachments.size > 0
%p
- status.media_attachments.each do |a|
= link_to medium_url(a), medium_url(a)
- if status.local?
= link_to medium_url(a), medium_url(a)
- else
= link_to a.remote_url, a.remote_url

%p.status-footer
= link_to l(status.created_at), web_url("statuses/#{status.id}")

Зареждане…
Отказ
Запис