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

30 lines
1.3 KiB

  1. - i ||= 0
  2. %table.email-table{ cellspacing: 0, cellpadding: 0 }
  3. %tbody
  4. %tr
  5. %td.email-body
  6. .email-container
  7. %table.content-section{ cellspacing: 0, cellpadding: 0 }
  8. %tbody
  9. %tr
  10. %td.content-cell{ class: i.zero? ? 'content-start' : nil }
  11. .email-row
  12. .col-6
  13. %table.column{ cellspacing: 0, cellpadding: 0 }
  14. %tbody
  15. %tr
  16. %td.column-cell.padded.status
  17. %table.status-header{ cellspacing: 0, cellpadding: 0 }
  18. %tbody
  19. %tr
  20. %td{ align: 'left', width: 48 }
  21. = image_tag full_asset_url(status.account.avatar.url), alt:''
  22. %td{ align: 'left' }
  23. %bdi= display_name(status.account)
  24. = "@#{status.account.acct}"
  25. = Formatter.instance.format(status)
  26. %p.status-footer
  27. = link_to l(status.created_at), web_url("statuses/#{status.id}")