2018-01-16 11:29:11 +09:00
|
|
|
!!!
|
|
|
|
%html{ lang: I18n.locale }
|
|
|
|
%head
|
|
|
|
%meta{ 'http-equiv' => 'Content-Type', 'content' => 'text/html; charset=utf-8' }/
|
|
|
|
%meta{ name: 'viewport', content: 'width=device-width, initial-scale=1.0, shrink-to-fit=no' }
|
|
|
|
|
|
|
|
= stylesheet_pack_tag 'mailer'
|
2018-01-29 08:22:20 +09:00
|
|
|
%body{ dir: locale_direction }
|
2018-01-16 11:29:11 +09:00
|
|
|
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.email-body.email-start
|
|
|
|
.email-container
|
|
|
|
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.content-cell.header
|
|
|
|
.email-row
|
|
|
|
.col-6
|
|
|
|
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.column-cell
|
|
|
|
= link_to root_url do
|
2022-06-10 05:25:23 +09:00
|
|
|
= image_tag full_pack_url('media/images/mailer/wordmark.png'), alt: 'Mastodon', height: 34, class: 'logo'
|
2018-01-16 11:29:11 +09:00
|
|
|
|
|
|
|
= yield
|
|
|
|
|
|
|
|
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.email-body.email-end
|
|
|
|
.email-container
|
|
|
|
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.content-cell.content-end
|
2023-03-16 04:07:43 +09:00
|
|
|
!= ' '
|
2018-01-16 11:29:11 +09:00
|
|
|
%tr
|
|
|
|
%td.blank-cell.footer
|
|
|
|
.email-row
|
2018-01-20 09:32:21 +09:00
|
|
|
.col-6
|
2018-01-16 11:29:11 +09:00
|
|
|
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%td.column-cell
|
|
|
|
%p= t 'about.hosted_on', domain: site_hostname
|
2023-06-12 21:22:46 +09:00
|
|
|
%p
|
|
|
|
= link_to t('application_mailer.notification_preferences'), settings_preferences_notifications_url
|
|
|
|
- if defined?(@type)
|
|
|
|
·
|
|
|
|
= link_to t('application_mailer.unsubscribe'), unsubscribe_url(token: @user.to_sgid(for: 'unsubscribe').to_s, type: @type)
|
2018-01-16 11:29:11 +09:00
|
|
|
%td.column-cell.text-right
|
|
|
|
= link_to root_url do
|
2022-06-10 05:25:23 +09:00
|
|
|
= image_tag full_pack_url('media/images/mailer/logo.png'), alt: 'Mastodon', height: 24
|