emails: add a "Read message" button to the new answer email
This commit is contained in:
parent
630ae06542
commit
f88d7c28fa
4 changed files with 20 additions and 3 deletions
9
app/views/shared/_mailer_round_button.html.haml
Normal file
9
app/views/shared/_mailer_round_button.html.haml
Normal file
|
@ -0,0 +1,9 @@
|
|||
/# From https://litmus.com/blog/a-guide-to-bulletproof-buttons-in-email-design
|
||||
%table{ width: "100%", border: "0", cellspacing:"0", cellpadding:"0" }
|
||||
%tr
|
||||
%td
|
||||
%table{ border:"0", cellspacing:"0", cellpadding:"0", style:"margin: auto" }
|
||||
%tr
|
||||
%td{ align:"center", style:"border-radius: 5px;", bgcolor:"#0069cc" }
|
||||
%a{ href: url, target:"_blank", style:"font-size: 16px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; text-decoration: none; border-radius: 5px; padding: 12px 25px; border: 1px solid #0069cc; display: inline-block;" }
|
||||
= text
|
Loading…
Add table
Add a link
Reference in a new issue