FIX: digest customizations for above/below popular topics were sometimes not being shown

This commit is contained in:
Neil Lalonde 2016-12-06 12:35:02 -05:00
parent bad6dbc891
commit 1f50fcd613

View File

@ -303,13 +303,11 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo
<% end %>
<%= digest_custom_html("above_popular_topics") %>
<% if @other_new_for_you.present? %>
<center style="color:#0a0a0a;background:#f3f3f3;font-size:28px;font-weight:400;padding-bottom: 8px;font-family:Helvetica,Arial,sans-serif;"><%=t 'user_notifications.digest.more_new' %></center>
<%= digest_custom_html("above_popular_topics") %>
<table class="body" style="width:100%;background:#f3f3f3;border-spacing:0;border-collapse:collapse!important;font-family:Helvetica,Arial,sans-serif;font-size:16px;font-weight:200;line-height:1.3;padding:0;text-align:left;vertical-align:top;">
<tr>
<td class="side-spacer" style="width:5%;padding:0;">&nbsp;</td>
@ -369,10 +367,10 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo
</tr>
</table>
<%= digest_custom_html("below_popular_topics") %>
<% end %>
<%= digest_custom_html("below_popular_topics") %>
</td>
<td class="side-spacer" style="width:5%;padding:0;">&nbsp;</td>