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.

146 lines
6.4 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_done.png'), alt: ''
  21. %h1= t 'user_mailer.welcome.title', name: @resource.account.username
  22. %p.lead= t 'user_mailer.welcome.explanation'
  23. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  24. %tbody
  25. %tr
  26. %td.email-body
  27. .email-container
  28. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  29. %tbody
  30. %tr
  31. %td.content-cell.content-start
  32. .email-row
  33. .col-3
  34. %table.column{ cellspacing: 0, cellpadding: 0 }
  35. %tbody
  36. %tr
  37. %td.column-cell.input-cell.text-center.padded-bottom
  38. %h5= t 'user_mailer.welcome.full_handle'
  39. %table.input{ align: 'center', cellspacing: 0, cellpadding: 0 }
  40. %tbody
  41. %tr
  42. %td= "@#{@resource.account.username}@#{@instance}"
  43. .col-3
  44. %table.column{ cellspacing: 0, cellpadding: 0 }
  45. %tbody
  46. %tr
  47. %td.column-cell
  48. %p= t 'user_mailer.welcome.full_handle_hint', instance: @instance
  49. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  50. %tbody
  51. %tr
  52. %td.email-body
  53. .email-container
  54. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  55. %tbody
  56. %tr
  57. %td.content-cell.content-start.border-top
  58. .email-row
  59. .col-4
  60. %table.column{ cellspacing: 0, cellpadding: 0 }
  61. %tbody
  62. %tr
  63. %td.column-cell.padded
  64. = t 'user_mailer.welcome.edit_profile_step'
  65. .col-2
  66. %table.column{ cellspacing: 0, cellpadding: 0 }
  67. %tbody
  68. %tr
  69. %td.column-cell.padded
  70. %table.button.button-small{ align: 'left', cellspacing: 0, cellpadding: 0 }
  71. %tbody
  72. %tr
  73. %td.button-primary
  74. = link_to settings_profile_url do
  75. %span= t 'user_mailer.welcome.edit_profile_action'
  76. %tr
  77. %td.content-cell
  78. .email-row
  79. .col-4
  80. %table.column{ cellspacing: 0, cellpadding: 0 }
  81. %tbody
  82. %tr
  83. %td.column-cell.padded
  84. = t 'user_mailer.welcome.review_preferences_step'
  85. .col-2
  86. %table.column{ cellspacing: 0, cellpadding: 0 }
  87. %tbody
  88. %tr
  89. %td.column-cell.padded
  90. %table.button.button-small{ align: 'left', cellspacing: 0, cellpadding: 0 }
  91. %tbody
  92. %tr
  93. %td.button-primary
  94. = link_to settings_preferences_url do
  95. %span= t 'user_mailer.welcome.review_preferences_action'
  96. %tr
  97. %td.content-cell.padded-bottom
  98. .email-row
  99. .col-4
  100. %table.column{ cellspacing: 0, cellpadding: 0 }
  101. %tbody
  102. %tr
  103. %td.column-cell.padded
  104. = t 'user_mailer.welcome.final_step'
  105. .col-2
  106. %table.column{ cellspacing: 0, cellpadding: 0 }
  107. %tbody
  108. %tr
  109. %td.column-cell.padded
  110. %table.button.button-small{ align: 'left', cellspacing: 0, cellpadding: 0 }
  111. %tbody
  112. %tr
  113. %td.button-primary
  114. = link_to web_url do
  115. %span= t 'user_mailer.welcome.final_action'
  116. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  117. %tbody
  118. %tr
  119. %td.email-body
  120. .email-container
  121. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  122. %tbody
  123. %tr
  124. %td.content-cell.border-top
  125. .email-row
  126. .col-6
  127. %table.column{ cellspacing: 0, cellpadding: 0 }
  128. %tbody
  129. %tr
  130. %td.column-cell.padded
  131. %h5= t 'user_mailer.welcome.tips'
  132. %ul
  133. %li
  134. %span= t 'user_mailer.welcome.tip_mobile_webapp'
  135. %li
  136. %span= t 'user_mailer.welcome.tip_bridge_html', bridge_url: 'https://bridge.joinmastodon.org'
  137. %li
  138. %span= t 'user_mailer.welcome.tip_following'
  139. %li
  140. %span= t 'user_mailer.welcome.tip_local_timeline', instance: @instance
  141. %li
  142. %span= t 'user_mailer.welcome.tip_federated_timeline'