mirror of https://github.com/mastodon/mastodon
Add missing mailer for quote notifications (#35652)
parent
f68bd21600
commit
80aadc55df
@ -0,0 +1,16 @@
|
|||||||
|
= content_for :heading do
|
||||||
|
= render 'application/mailer/heading',
|
||||||
|
image_url: frontend_asset_url('images/mailer-new/heading/boost.png'),
|
||||||
|
subtitle: t('notification_mailer.quote.body', name: @status.account.pretty_acct),
|
||||||
|
title: t('notification_mailer.quote.title')
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-body-padding-td
|
||||||
|
%table.email-inner-card-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-inner-card-td
|
||||||
|
= render 'status', status: @status, time_zone: @me.user_time_zone
|
||||||
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||||
|
%tr
|
||||||
|
%td.email-padding-top-24
|
||||||
|
= render 'application/mailer/button', text: t('notification_mailer.mention.action'), url: web_url("@#{@status.account.pretty_acct}/#{@status.id}")
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
<%= raw t('application_mailer.salutation', name: display_name(@me)) %>
|
||||||
|
|
||||||
|
<%= raw t('notification_mailer.quote.body', name: @status.account.pretty_acct) %>
|
||||||
|
|
||||||
|
<%= render 'status', status: @status %>
|
||||||
Loading…
Reference in New Issue