From 1f50fcd6132cef5afb624811b5cc4b972d36ad06 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Tue, 6 Dec 2016 12:35:02 -0500 Subject: [PATCH] FIX: digest customizations for above/below popular topics were sometimes not being shown --- app/views/user_notifications/digest.html.erb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/views/user_notifications/digest.html.erb b/app/views/user_notifications/digest.html.erb index d551dfe2d29..a79cb5adcd2 100644 --- a/app/views/user_notifications/digest.html.erb +++ b/app/views/user_notifications/digest.html.erb @@ -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? %>
<%=t 'user_notifications.digest.more_new' %>
- -<%= digest_custom_html("above_popular_topics") %> - @@ -369,10 +367,10 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo
 
-<%= digest_custom_html("below_popular_topics") %> - <% end %> +<%= digest_custom_html("below_popular_topics") %> +