2024-01-16 05:18:59 +11:00
|
|
|
%table.email-w-full.email-checklist-wrapper-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
|
|
%tr
|
|
|
|
%td.email-checklist-wrapper-td
|
2024-03-01 23:16:53 +11:00
|
|
|
%table.email-w-full.email-checklist-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation', class: ('email-checklist-checked' if defined?(checked) && checked) }
|
2024-01-16 05:18:59 +11:00
|
|
|
%tr
|
|
|
|
%td.email-checklist-td
|
|
|
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
|
|
%tr
|
|
|
|
%td.email-checklist-icons-td
|
|
|
|
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
|
|
|
%tr
|
|
|
|
%td.email-checklist-icons-checkbox-td
|
|
|
|
- if defined?(checked) && checked
|
2024-01-17 23:19:51 +11:00
|
|
|
= image_tag frontend_asset_url('images/mailer-new/welcome/checkbox-on.png'), alt: '', width: 20, height: 20
|
2024-01-16 05:18:59 +11:00
|
|
|
- else
|
2024-01-17 23:19:51 +11:00
|
|
|
= image_tag frontend_asset_url('images/mailer-new/welcome/checkbox-off.png'), alt: '', width: 20, height: 20
|
2024-01-16 05:18:59 +11:00
|
|
|
%td.email-checklist-icons-step-td
|
2024-03-01 23:16:53 +11:00
|
|
|
- if defined?(key)
|
2024-03-28 21:56:33 +11:00
|
|
|
= image_tag frontend_asset_url("images/mailer-new/welcome-icons/#{key}_step-#{checked ? 'on' : 'off'}.png"), alt: '', width: 40, height: 40
|
2024-01-16 05:18:59 +11:00
|
|
|
%td.email-checklist-text-td
|
|
|
|
.email-desktop-flex
|
2024-03-01 23:16:53 +11:00
|
|
|
/[if mso]
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" align="center" style="width:100%;" role="presentation"><tr><td vertical-align:top;">
|
2024-01-16 05:18:59 +11:00
|
|
|
%div
|
2024-03-28 21:56:33 +11:00
|
|
|
%h3= t("user_mailer.welcome.#{key}_title")
|
|
|
|
%p= t("user_mailer.welcome.#{key}_step")
|
2024-03-01 23:16:53 +11:00
|
|
|
/[if mso]
|
|
|
|
</td><td style="vertical-align:top;">
|
2024-01-16 05:18:59 +11:00
|
|
|
%div
|
2024-03-01 23:16:53 +11:00
|
|
|
- if defined?(show_apps_buttons) && show_apps_buttons
|
|
|
|
.email-welcome-apps-btns
|
2024-03-02 01:51:01 +11:00
|
|
|
= link_to image_tag(frontend_asset_url('images/mailer-new/store-icons/btn-app-store.png'), alt: t('user_mailer.welcome.apps_ios_action'), width: 120, height: 40), 'https://apps.apple.com/app/mastodon-for-iphone-and-ipad/id1571998974'
|
|
|
|
= link_to image_tag(frontend_asset_url('images/mailer-new/store-icons/btn-google-play.png'), alt: t('user_mailer.welcome.apps_android_action'), width: 120, height: 40), 'https://play.google.com/store/apps/details?id=org.joinmastodon.android'
|
2024-03-01 23:16:53 +11:00
|
|
|
- elsif defined?(button_text) && defined?(button_url) && defined?(checked) && !checked
|
|
|
|
= render 'application/mailer/button', text: button_text, url: button_url, has_arrow: false
|
|
|
|
/[if mso]
|
|
|
|
</td></tr></table>
|