diff --git a/app/views/user_notifications/mailing_list.html.erb b/app/views/user_notifications/mailing_list.html.erb index 749ee60867e..582f7c66b3d 100644 --- a/app/views/user_notifications/mailing_list.html.erb +++ b/app/views/user_notifications/mailing_list.html.erb @@ -56,7 +56,16 @@
- '><%= post.user.name || post.user.username %> + + <%- if show_username_on_post(post) %> + <%= post.user.username %> + <% end %> + + <%- if show_name_on_post(post) %> + - <%= post.user.name %> + <% end %> + + - <%= I18n.l(post.created_at, format: :long) %>