闭社主体 forked from https://github.com/tootsuite/mastodon
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.

76 lines
2.9 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. = link_to confirmation_url(@resource, confirmation_token: @token) do
  56. %span= t 'devise.mailer.confirmation_instructions.action'
  57. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  58. %tbody
  59. %tr
  60. %td.email-body
  61. .email-container
  62. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  63. %tbody
  64. %tr
  65. %td.content-cell
  66. .email-row
  67. .col-6
  68. %table.column{ cellspacing: 0, cellpadding: 0 }
  69. %tbody
  70. %tr
  71. %td.column-cell.text-center
  72. %p= t 'devise.mailer.confirmation_instructions.extra_html', terms_path: about_more_url, policy_path: terms_url