From 08801b835cb7248ecc43b8fc5522b3f9e4ec9a54 Mon Sep 17 00:00:00 2001 From: scossar Date: Sun, 17 Jan 2016 12:36:15 -0800 Subject: [PATCH] put avatar in nested table --- app/views/email/_post.html.erb | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/app/views/email/_post.html.erb b/app/views/email/_post.html.erb index 75510c19a9a..c081fb5afda 100644 --- a/app/views/email/_post.html.erb +++ b/app/views/email/_post.html.erb @@ -1,19 +1,25 @@ -
- - - <%= post.user.username %> - <%- if show_name_on_post(post) %> - <%= post.user.name %> - <% end %> - <%- if post.user.title.present? %> - <%= post.user.title %> - <% end %> -
- <%= l post.created_at, format: :short_no_year %> + + + + + +
+ + + <%= post.user.username %> + <%- if show_name_on_post(post) %> + <%= post.user.name %> + <% end %> + <%- if post.user.title.present? %> + <%= post.user.title %> + <% end %> +
+ <%= l post.created_at, format: :short_no_year %> +