2013-07-26 03:27:46 -04:00
|
|
|
<table class='post-wrapper'>
|
2013-07-24 03:13:15 -04:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
2013-07-26 03:27:46 -04:00
|
|
|
<td class='user-avatar'>
|
2015-03-24 11:25:47 -04:00
|
|
|
<img src="<%= post.user.small_avatar_url %>" title="<%= post.user.username%>">
|
2013-07-24 03:13:15 -04:00
|
|
|
</td>
|
2013-07-26 03:27:46 -04:00
|
|
|
<td>
|
2015-03-23 14:12:11 -04:00
|
|
|
<a class="username" href="<%=Discourse.base_url%>/users/<%= post.user.username_lower%>" target="_blank"><%= post.user.username %></a>
|
2015-03-24 11:25:47 -04:00
|
|
|
<%- if SiteSetting.enable_names? && post.user.name.present? && post.user.name != post.user.username %>
|
|
|
|
<a class="user-name" href="<%=Discourse.base_url%>/users/<%= post.user.username_lower%>" target="_blank"><%= post.user.name %></a>
|
|
|
|
<% end %>
|
2015-03-23 14:12:11 -04:00
|
|
|
<%- if post.user.title.present? %>
|
|
|
|
<span class='user-title'><%= post.user.title %></span>
|
|
|
|
<% end %>
|
|
|
|
<br>
|
2014-05-14 16:40:54 -04:00
|
|
|
<span class='notification-date'><%= l post.created_at, format: :short_no_year %></span>
|
2013-07-24 03:13:15 -04:00
|
|
|
</td>
|
|
|
|
</tr>
|
2013-07-26 03:27:46 -04:00
|
|
|
<tr>
|
2014-11-05 14:37:00 -05:00
|
|
|
<td class='body'><%= format_for_email(post.cooked) %></td>
|
2013-07-26 03:27:46 -04:00
|
|
|
</tr>
|
2013-07-24 03:13:15 -04:00
|
|
|
</tbody>
|
|
|
|
</table>
|