闭社主体 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.

45 lines
1.8 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_grade.png'), alt:''
  21. %h1= t 'notification_mailer.favourite.title'
  22. %p.lead= t('notification_mailer.favourite.body', name: @account.acct)
  23. = render 'status', status: @status
  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("statuses/#{@status.id}") do
  42. %span= t 'application_mailer.view_status'