2024-01-15 18:18:59 +00: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 12:16:53 +00: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-15 18:18:59 +00: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 12:19:51 +00:00
|
|
|
= image_tag frontend_asset_url('images/mailer-new/welcome/checkbox-on.png'), alt: '', width: 20, height: 20
|
2024-01-15 18:18:59 +00:00
|
|
|
- else
|
2024-01-17 12:19:51 +00:00
|
|
|
= image_tag frontend_asset_url('images/mailer-new/welcome/checkbox-off.png'), alt: '', width: 20, height: 20
|
2024-01-15 18:18:59 +00:00
|
|
|
%td.email-checklist-icons-step-td
|
2024-03-01 12:16:53 +00:00
|
|
|
- if defined?(key)
|
2024-03-01 14:51:01 +00:00
|
|
|
= image_tag frontend_asset_url("images/mailer-new/welcome-icons/#{key}-#{checked ? 'on' : 'off'}.png"), alt: '', width: 40, height: 40
|
2024-01-15 18:18:59 +00:00
|
|
|
%td.email-checklist-text-td
|
|
|
|
.email-desktop-flex
|
2024-03-01 12:16:53 +00:00
|
|
|
/[if mso]
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" align="center" style="width:100%;" role="presentation"><tr><td vertical-align:top;">
|
2024-01-15 18:18:59 +00:00
|
|
|
%div
|
|
|
|
- if defined?(title)
|
|
|
|
%h3= title
|
|
|
|
- if defined?(text)
|
|
|
|
%p= text
|
2024-03-01 12:16:53 +00:00
|
|
|
/[if mso]
|
|
|
|
</td><td style="vertical-align:top;">
|
2024-01-15 18:18:59 +00:00
|
|
|
%div
|
2024-03-01 12:16:53 +00:00
|
|
|
- if defined?(show_apps_buttons) && show_apps_buttons
|
|
|
|
.email-welcome-apps-btns
|
2024-03-01 14:51:01 +00: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 12:16:53 +00: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>
|