mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-18 05:12:18 +00:00
02194838dd
* HTML e-mails for NotificationMailer (except digest) * Add HTML template for digest * Fix build
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
- i ||= 0
|
|
|
|
%table.email-table{ cellspacing: 0, cellpadding: 0 }
|
|
%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 }
|
|
= image_tag status.account.avatar
|
|
%td{ align: 'left' }
|
|
%bdi= display_name(status.account)
|
|
= "@#{status.account.acct}"
|
|
|
|
= Formatter.instance.format(status)
|
|
|
|
%p.status-footer
|
|
= link_to l(status.created_at), web_url("statuses/#{status.id}")
|