|
|
|
@ -11,10 +11,8 @@
|
|
|
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
|
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
|
|
%tr
|
|
|
|
%tr
|
|
|
|
%td.email-column-td
|
|
|
|
%td.email-column-td
|
|
|
|
- if defined?(feature_title)
|
|
|
|
%h2.email-h2= t("user_mailer.welcome.feature_#{feature}_title")
|
|
|
|
%h2.email-h2= feature_title
|
|
|
|
%p.email-p= t("user_mailer.welcome.feature_#{feature}")
|
|
|
|
- if defined?(feature_text)
|
|
|
|
|
|
|
|
%p.email-p= feature_text
|
|
|
|
|
|
|
|
- if defined?(feature_btn_url)
|
|
|
|
- if defined?(feature_btn_url)
|
|
|
|
= link_to '', href: feature_btn_url, class: 'email-link-with-arrow' do
|
|
|
|
= link_to '', href: feature_btn_url, class: 'email-link-with-arrow' do
|
|
|
|
#{t('user_mailer.welcome.feature_action')}
|
|
|
|
#{t('user_mailer.welcome.feature_action')}
|
|
|
|
@ -25,8 +23,8 @@
|
|
|
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
|
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
|
|
%tr
|
|
|
|
%tr
|
|
|
|
%td.email-column-td
|
|
|
|
%td.email-column-td
|
|
|
|
- if defined?(key)
|
|
|
|
- if defined?(feature)
|
|
|
|
%p{ class: ('email-desktop-text-right' if defined?(text_first_on_desktop) && text_first_on_desktop) }
|
|
|
|
%p{ class: ('email-desktop-text-right' if defined?(text_first_on_desktop) && text_first_on_desktop) }
|
|
|
|
= image_tag frontend_asset_url("images/mailer-new/welcome/#{key}.png"), alt: '', width: 240, height: 230
|
|
|
|
= image_tag frontend_asset_url("images/mailer-new/welcome/feature_#{feature}.png"), alt: '', width: 240, height: 230
|
|
|
|
/[if mso]
|
|
|
|
/[if mso]
|
|
|
|
</td></tr></table>
|
|
|
|
</td></tr></table>
|
|
|
|
|