The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

81 lines
3.3 KiB

  1. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  2. %tbody
  3. %tr
  4. %td.email-body
  5. .email-container
  6. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  7. %tbody
  8. %tr
  9. %td.content-cell.hero
  10. .email-row
  11. .col-6
  12. %table.column{ cellspacing: 0, cellpadding: 0 }
  13. %tbody
  14. %tr
  15. %td.column-cell.text-center.padded
  16. %table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
  17. %tbody
  18. %tr
  19. %td
  20. = image_tag full_pack_url('icon_email.png'), alt: ''
  21. %h1= t 'devise.mailer.confirmation_instructions.title'
  22. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  23. %tbody
  24. %tr
  25. %td.email-body
  26. .email-container
  27. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  28. %tbody
  29. %tr
  30. %td.content-cell.content-start
  31. .email-row
  32. .col-6
  33. %table.column{ cellspacing: 0, cellpadding: 0 }
  34. %tbody
  35. %tr
  36. %td.column-cell.text-center
  37. %p= t 'devise.mailer.confirmation_instructions.explanation', host: site_hostname
  38. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  39. %tbody
  40. %tr
  41. %td.email-body
  42. .email-container
  43. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  44. %tbody
  45. %tr
  46. %td.content-cell
  47. %table.column{ cellspacing: 0, cellpadding: 0 }
  48. %tbody
  49. %tr
  50. %td.column-cell.button-cell
  51. %table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
  52. %tbody
  53. %tr
  54. %td.button-primary
  55. - if @resource.created_by_application
  56. = link_to confirmation_url(@resource, confirmation_token: @token, redirect_to_app: 'true') do
  57. %span= t 'devise.mailer.confirmation_instructions.action_with_app', app: @resource.created_by_application.name
  58. - else
  59. = link_to confirmation_url(@resource, confirmation_token: @token) do
  60. %span= t 'devise.mailer.confirmation_instructions.action'
  61. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  62. %tbody
  63. %tr
  64. %td.email-body
  65. .email-container
  66. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  67. %tbody
  68. %tr
  69. %td.content-cell
  70. .email-row
  71. .col-6
  72. %table.column{ cellspacing: 0, cellpadding: 0 }
  73. %tbody
  74. %tr
  75. %td.column-cell.text-center
  76. %p= t 'devise.mailer.confirmation_instructions.extra_html', terms_path: about_more_url, policy_path: terms_url