Update new email templates (#28416)
Co-authored-by: Matt Jankowski <matt@jankowski.online>
This commit is contained in:
parent
98b5f85f10
commit
7f471e70c0
66 changed files with 932 additions and 1834 deletions
4
app/views/application/mailer/_button.html.haml
Normal file
4
app/views/application/mailer/_button.html.haml
Normal file
|
@ -0,0 +1,4 @@
|
|||
%table.email-btn-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%tr
|
||||
%td.email-btn-td
|
||||
= link_to "#{text} ➜", url, class: 'email-btn-a email-btn-hover'
|
29
app/views/application/mailer/_checklist.html.haml
Normal file
29
app/views/application/mailer/_checklist.html.haml
Normal file
|
@ -0,0 +1,29 @@
|
|||
%table.email-w-full.email-checklist-wrapper-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%tr
|
||||
%td.email-checklist-wrapper-td
|
||||
%table.email-w-full.email-checklist-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%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
|
||||
= image_tag full_pack_url('media/images/mailer-new/welcome/checkbox-on.png'), alt: '', width: 20, height: 20
|
||||
- else
|
||||
= image_tag full_pack_url('media/images/mailer-new/welcome/checkbox-off.png'), alt: '', width: 20, height: 20
|
||||
%td.email-checklist-icons-step-td
|
||||
- if defined?(step_image_url)
|
||||
= image_tag step_image_url, alt: '', width: 40, height: 40
|
||||
%td.email-checklist-text-td
|
||||
.email-desktop-flex
|
||||
%div
|
||||
- if defined?(title)
|
||||
%h3= title
|
||||
- if defined?(text)
|
||||
%p= text
|
||||
%div
|
||||
- if defined?(button_text) && defined?(button_url) && defined?(checked) && !checked
|
||||
= render 'application/mailer/button', text: button_text, url: button_url
|
4
app/views/application/mailer/_frame.html.haml
Normal file
4
app/views/application/mailer/_frame.html.haml
Normal file
|
@ -0,0 +1,4 @@
|
|||
%table.email-w-full.email-frame-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%tr
|
||||
%td.email-frame-td
|
||||
%p= text
|
13
app/views/application/mailer/_heading.html.haml
Normal file
13
app/views/application/mailer/_heading.html.haml
Normal file
|
@ -0,0 +1,13 @@
|
|||
%table.email-w-full.email-header-heading-table{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%tr
|
||||
%td.email-header-heading-td
|
||||
%table.email-w-full{ cellspacing: 0, cellpadding: 0, border: 0, role: 'presentation' }
|
||||
%tr
|
||||
- if defined?(heading_image_url)
|
||||
%td.email-header-heading-img-td
|
||||
= image_tag heading_image_url, alt: '', width: 56, height: 56
|
||||
%td.email-header-heading-txt-td
|
||||
- if defined?(heading_title)
|
||||
%h1= heading_title
|
||||
- if defined?(heading_subtitle)
|
||||
%p= heading_subtitle
|
Loading…
Add table
Add a link
Reference in a new issue