mirror of
https://github.com/mastodon/mastodon.git
synced 2026-05-09 04:22:42 -05:00
39 lines
2.1 KiB
Plaintext
39 lines
2.1 KiB
Plaintext
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
- @statuses.each do |status|
|
|
%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 'notification_mailer/status', status: status, time_zone: nil
|
|
|
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
%tr
|
|
%td.email-body-padding-td
|
|
%table.email-w-full.email-checklist-wrapper-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
%tr
|
|
%td.email-checklist-wrapper-td
|
|
%table.email-w-full.email-banner-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
%tr
|
|
%td.email-banner-td
|
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
%tr
|
|
%td.email-banner-text-td
|
|
.email-desktop-flex
|
|
/[if mso]
|
|
<table border="0" cellpadding="0" cellspacing="0" align="center" style="width:100%;" role="presentation"><tr><td vertical-align:top;">
|
|
%div
|
|
%p= t('.interact_with_this_post', count: @statuses.size)
|
|
/[if mso]
|
|
</td><td style="vertical-align:top;">
|
|
%div
|
|
= render 'application/mailer/button', text: t('.create_account'), url: available_sign_up_url, has_arrow: false
|
|
/[if mso]
|
|
</td></tr></table>
|
|
|
|
- content_for :footer do
|
|
%p.email-footer-p= t('.footer.reason_for_email_html', name: display_name(@subscription.account), unsubscribe_path: @unsubscribe_url)
|
|
%p.email-footer-p= t('.footer.privacy_html', domain: @instance, privacy_policy_path: privacy_policy_path)
|
|
- if Setting.email_footer_text.present?
|
|
%p.email-footer-p= Setting.email_footer_text
|