welcome.html.haml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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('media/images/mailer/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_following'
  137. %li
  138. %span= t 'user_mailer.welcome.tip_local_timeline', instance: @instance
  139. %li
  140. %span= t 'user_mailer.welcome.tip_federated_timeline'