2013-07-26 15:27:46 +08:00
|
|
|
<table class='post-wrapper'>
|
2013-07-24 15:13:15 +08:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
2013-07-26 15:27:46 +08:00
|
|
|
<td class='user-avatar'>
|
|
|
|
<img src="<%= post.user.small_avatar_url%>" title="<%= post.user.username%>">
|
2013-07-24 15:13:15 +08:00
|
|
|
</td>
|
2013-07-26 15:27:46 +08:00
|
|
|
<td>
|
|
|
|
<a class="username" href="<%=Discourse.base_url%>/users/<%= post.user.username_lower%>" target="_blank"><%= post.user.username %></a><br>
|
2014-05-15 04:40:54 +08:00
|
|
|
<span class='notification-date'><%= l post.created_at, format: :short_no_year %></span>
|
2013-07-24 15:13:15 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
2013-07-26 15:27:46 +08:00
|
|
|
<tr>
|
2014-04-18 00:32:51 +08:00
|
|
|
<td class='body'><%= cooked_post_for_email(post) %></td>
|
2013-07-26 15:27:46 +08:00
|
|
|
</tr>
|
2013-07-24 15:13:15 +08:00
|
|
|
</tbody>
|
|
|
|
</table>
|