Skip to content

Commit

Permalink
Update status reaction emails
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEssem committed Dec 18, 2024
1 parent e58855d commit a155866
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Binary file modified app/javascript/images/mailer-new/heading/reaction.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion app/views/notification_mailer/reaction.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
= content_for :heading do
= render 'application/mailer/heading', heading_title: t('notification_mailer.reaction.title'), heading_subtitle: t('notification_mailer.reaction.body', name: @account.pretty_acct), heading_image_url: frontend_asset_url('images/mailer-new/heading/reaction.png')
= render 'application/mailer/heading',
image_url: frontend_asset_url('images/mailer-new/heading/reaction.png'),
subtitle: t('notification_mailer.reaction.body', name: @status.account.pretty_acct),
title: t('notification_mailer.reaction.title')
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
%tr
%td.email-body-padding-td
Expand Down
2 changes: 1 addition & 1 deletion app/views/notification_mailer/reaction.text.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<%= raw t('application_mailer.salutation', name: display_name(@me)) %>

<%= raw t('notification_mailer.reaction.body', name: @account.pretty_acct) %>
<%= raw t('notification_mailer.reaction.body', name: @status.account.pretty_acct) %>

<%= render 'status', status: @status %>

0 comments on commit a155866

Please sign in to comment.