2018-01-16 14:20:15 -05:00
|
|
|
- i ||= 0
|
|
|
|
|
2018-01-28 18:22:20 -05:00
|
|
|
%table.email-table{ cellspacing: 0, cellpadding: 0, dir: 'ltr' }
|
2018-01-16 14:20:15 -05:00
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.email-body
|
|
|
|
.email-container
|
|
|
|
%table.content-section{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.content-cell{ class: i.zero? ? 'content-start' : nil }
|
|
|
|
.email-row
|
|
|
|
.col-6
|
|
|
|
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td.column-cell.padded.status
|
|
|
|
%table.status-header{ cellspacing: 0, cellpadding: 0 }
|
|
|
|
%tbody
|
|
|
|
%tr
|
|
|
|
%td{ align: 'left', width: 48 }
|
2018-01-21 07:20:00 -05:00
|
|
|
= image_tag full_asset_url(status.account.avatar.url), alt:''
|
2018-01-16 14:20:15 -05:00
|
|
|
%td{ align: 'left' }
|
|
|
|
%bdi= display_name(status.account)
|
|
|
|
= "@#{status.account.acct}"
|
|
|
|
|
2018-01-28 18:22:20 -05:00
|
|
|
%div{ dir: rtl_status?(status) ? 'rtl' : 'ltr' }
|
|
|
|
= Formatter.instance.format(status)
|
2018-01-16 14:20:15 -05:00
|
|
|
|
|
|
|
%p.status-footer
|
|
|
|
= link_to l(status.created_at), web_url("statuses/#{status.id}")
|