diff --git a/app/views/user_notifications/digest.html.erb b/app/views/user_notifications/digest.html.erb index 446c8add754..01cd1ed6560 100644 --- a/app/views/user_notifications/digest.html.erb +++ b/app/views/user_notifications/digest.html.erb @@ -143,10 +143,10 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo <% if t.user %> -
<%= t.user.username -%>
<% if SiteSetting.enable_names? && t.user.name.present? && t.user.name.downcase != t.user.username.downcase %> -

<%= t.user.name -%>

+
<%= t.user.name -%>
<% end %> +

<%= t.user.username -%>

<% end %> <%- if show_image_with_url(t.image_url) -%> @@ -277,10 +277,10 @@ body, table, td, th, h1, h2, h3 {font-family: Helvetica, Arial, sans-serif !impo <% if post.user %> -
<%= post.user.username -%>
<% if SiteSetting.enable_names? && post.user.name && post.user.name.downcase != post.user.username.downcase %> -

<%= post.user.name -%>

+
<%= post.user.name -%>
<% end %> +

<%= post.user.username -%>

<% end %>