welcome.html.haml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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.padded-bottom
  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.final_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 web_url do
  95. %span= t 'user_mailer.welcome.final_action'