mention.html.haml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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_reply.png'), alt: ''
  21. %h1= t 'notification_mailer.mention.title'
  22. %p.lead= t('notification_mailer.mention.body', name: @status.account.pretty_acct)
  23. = render 'status', status: @status, time_zone: @me.user_time_zone
  24. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  25. %tbody
  26. %tr
  27. %td.email-body
  28. .email-container
  29. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  30. %tbody
  31. %tr
  32. %td.content-cell.content-start.border-top
  33. %table.column{ cellspacing: 0, cellpadding: 0 }
  34. %tbody
  35. %tr
  36. %td.column-cell.button-cell
  37. %table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
  38. %tbody
  39. %tr
  40. %td.button-primary
  41. = link_to web_url("@#{@status.account.pretty_acct}/#{@status.id}") do
  42. %span= t 'notification_mailer.mention.action'