FIX: add back support for customizing header in summary email
This commit is contained in:
parent
1f50fcd613
commit
a7ee72649d
|
@ -18,6 +18,15 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo
|
|||
<%= @preheader_text %>
|
||||
</span>
|
||||
|
||||
<%- if I18n.t('user_notifications.digest.custom.html.header').present? %>
|
||||
<table style="width:100%;border-spacing:0;padding:0;">
|
||||
<tr>
|
||||
<td style="padding:0;">
|
||||
<%= raw(t 'user_notifications.digest.custom.html.header') %>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%- else %>
|
||||
<table style="background-color:#<%= @header_bgcolor -%>;width:100%;">
|
||||
<tr>
|
||||
<td align="center" style="text-align: center;padding: 20px 0; font-family:Helvetica,Arial,sans-serif;">
|
||||
|
@ -33,6 +42,7 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%- end %>
|
||||
|
||||
<table class="body" style="width:100%;background:#f3f3f3;padding:0;border-spacing:0;font-family:Helvetica,Arial,sans-serif;font-size:16px;font-weight:200;line-height:1.3;vertical-align:top;">
|
||||
<tr>
|
||||
|
|
Loading…
Reference in New Issue