diff --git a/app/views/user_notifications/digest.html.erb b/app/views/user_notifications/digest.html.erb index 7ce440ff460..3ff453bb1a3 100644 --- a/app/views/user_notifications/digest.html.erb +++ b/app/views/user_notifications/digest.html.erb @@ -34,7 +34,7 @@
- +
@@ -50,7 +50,7 @@
 
-
<%=t 'user_notifications.digest.since_last_visit' %>
+
<%=t 'user_notifications.digest.since_last_visit' %>
@@ -73,7 +73,7 @@
- + @@ -124,7 +124,7 @@ - <%- if show_image_with_url(t.image_url) && t.featured_link.nil? && !(@excerpts[t.first_post&.id]||"").include?(t.image_url) -%> - <%- end -%> @@ -145,10 +145,10 @@
+ <%= t.user.username -%> @@ -136,7 +136,7 @@ <% end %> + topic image
<%- if t.first_post.present? && !t.first_post.user_deleted %> - +
- @@ -161,29 +161,31 @@
+ <%= @excerpts[t.first_post.id] %>
likes -

<%= t.like_count -%>

+  <%= t.like_count -%>
replies -

<%= t.posts_count - 1 -%>

+  <%= t.posts_count - 1 -%>
<% t.posters_summary.each do |ps| %> <% if ps.user %> - <%= ps.user.username -%> + <%= ps.user.username -%> <% end %> <% end %> - - <%=t 'user_notifications.digest.join_the_discussion' %> - + + + <%=t 'user_notifications.digest.join_the_discussion' %> + +
- +
 
@@ -203,7 +205,7 @@
- +
@@ -276,7 +278,7 @@
 
- +
 
@@ -295,7 +297,7 @@ <%= digest_custom_html("above_popular_topics") %> <% if @other_new_for_you.present? %> -
<%=t 'user_notifications.digest.more_new' %>
+
<%=t 'user_notifications.digest.more_new' %>
diff --git a/lib/email/styles.rb b/lib/email/styles.rb index 34845f9df6f..955398aad8c 100644 --- a/lib/email/styles.rb +++ b/lib/email/styles.rb @@ -217,6 +217,7 @@ module Email style('.whisper div.body', 'font-style: italic; color: #9c9c9c;') style('.lightbox-wrapper .meta', 'display: none') style('div.undecorated-link-footer a', "font-weight: normal;") + style('.mso-accent-link', "mso-border-alt: 6px solid #{SiteSetting.email_accent_bg_color}; background-color: #{SiteSetting.email_accent_bg_color};") onebox_styles plugin_styles