mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-04 22:14:34 +00:00
872a0d5bd8
* Use PNG images in HTML e-mails * Make webpack use URLs with host so fonts load inside HTML e-mails Convert this back to a relative URL in the premailer CSS loader since local requests are quicker * Improve responsive design * Add missing PNG icon
44 lines
1.8 KiB
Plaintext
44 lines
1.8 KiB
Plaintext
%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.hero
|
|
.email-row
|
|
.col-6
|
|
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
%tbody
|
|
%tr
|
|
%td.column-cell.text-center.padded
|
|
%table.hero-icon{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
%tbody
|
|
%tr
|
|
%td
|
|
= image_tag full_pack_url('icon_person_add.png'), alt: ''
|
|
|
|
%h1= t 'notification_mailer.follow_request.title'
|
|
%p.lead= t('notification_mailer.follow_request.body', name: @account.acct)
|
|
|
|
%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.content-start
|
|
%table.column{ cellspacing: 0, cellpadding: 0 }
|
|
%tbody
|
|
%tr
|
|
%td.column-cell.button-cell
|
|
%table.button{ align: 'center', cellspacing: 0, cellpadding: 0 }
|
|
%tbody
|
|
%tr
|
|
%td.button-primary
|
|
= link_to web_url("follow_requests") do
|
|
%span= t 'notification_mailer.follow_request.action'
|