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>
|
|
|
|
<span class='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>
|
2013-11-29 04:57:21 +08:00
|
|
|
<td class='body'><%= PrettyText.make_all_links_absolute(post.cooked).html_safe %></td>
|
2013-07-26 15:27:46 +08:00
|
|
|
</tr>
|
2013-07-24 15:13:15 +08:00
|
|
|
</tbody>
|
|
|
|
</table>
|