mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 19:43:43 +08:00
17 lines
554 B
Plaintext
17 lines
554 B
Plaintext
<table class='post-wrapper'>
|
|
<tbody>
|
|
<tr>
|
|
<td class='user-avatar'>
|
|
<img src="<%= post.user.small_avatar_url%>" title="<%= post.user.username%>">
|
|
</td>
|
|
<td>
|
|
<a class="username" href="<%=Discourse.base_url%>/users/<%= post.user.username_lower%>" target="_blank"><%= post.user.username %></a><br>
|
|
<span class='notification-date'><%= l post.created_at, format: :short_no_year %></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class='body'><%= cooked_post_for_email(post) %></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|