Display quotes in email notifications (#36379)
This commit is contained in:
15
app/views/notification_mailer/_status_content.html.haml
Normal file
15
app/views/notification_mailer/_status_content.html.haml
Normal file
@@ -0,0 +1,15 @@
|
||||
.auto-dir
|
||||
- if status.spoiler_text?
|
||||
%p.email-status-spoiler
|
||||
= status.spoiler_text
|
||||
|
||||
.email-status-prose
|
||||
= status_content_format(status)
|
||||
|
||||
- if status.ordered_media_attachments.size.positive?
|
||||
%p.email-status-media
|
||||
- status.ordered_media_attachments.each do |a|
|
||||
- if status.local?
|
||||
= link_to full_asset_url(a.file.url(:original)), full_asset_url(a.file.url(:original))
|
||||
- else
|
||||
= link_to a.remote_url, a.remote_url
|
||||
Reference in New Issue
Block a user