2024-03-01 21:16:53 +09:00
|
|
|
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
|
|
|
%tr
|
|
|
|
|
%td.email-feature-wrapper-td
|
|
|
|
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
|
|
|
%tr
|
|
|
|
|
%td.email-feature-td
|
2024-04-05 01:13:10 +09:00
|
|
|
|
.email-desktop-flex{ class: ('email-dir-rtl' if feature_iteration.index.odd?) }
|
2024-03-01 21:16:53 +09:00
|
|
|
|
/[if mso]
|
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" align="center" style="width:100%;" role="presentation"><tr><td style="width:50%; vertical-align:top;">
|
|
|
|
|
.email-desktop-column
|
|
|
|
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
|
|
|
%tr
|
|
|
|
|
%td.email-column-td
|
2024-04-04 05:10:59 +09:00
|
|
|
|
%h2.email-h2= t("user_mailer.welcome.feature_#{feature}_title")
|
|
|
|
|
%p.email-p= t("user_mailer.welcome.feature_#{feature}")
|
2024-03-01 21:16:53 +09:00
|
|
|
|
- if defined?(feature_btn_url)
|
|
|
|
|
= link_to '', href: feature_btn_url, class: 'email-link-with-arrow' do
|
|
|
|
|
#{t('user_mailer.welcome.feature_action')}
|
|
|
|
|
%span= '❯'
|
|
|
|
|
/[if mso]
|
|
|
|
|
</td><td style="width:50%; vertical-align:top;">
|
|
|
|
|
.email-desktop-column
|
|
|
|
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
|
|
|
%tr
|
|
|
|
|
%td.email-column-td
|
2024-04-04 05:10:59 +09:00
|
|
|
|
- if defined?(feature)
|
2024-04-05 01:13:10 +09:00
|
|
|
|
%p{ class: ('email-desktop-text-right' if feature_iteration.index.even?) }
|
2024-04-04 05:10:59 +09:00
|
|
|
|
= image_tag frontend_asset_url("images/mailer-new/welcome/feature_#{feature}.png"), alt: '', width: 240, height: 230
|
2024-03-01 21:16:53 +09:00
|
|
|
|
/[if mso]
|
|
|
|
|
</td></tr></table>
|