2016-04-01 05:33:25 +08:00
|
|
|
<table class='post-wrapper <%= post.whisper? ? "whisper" : "" %> <%= use_excerpt ? "excerpt" : ""%>'>
|
2013-07-24 15:13:15 +08:00
|
|
|
<tbody>
|
|
|
|
<tr>
|
2013-07-26 15:27:46 +08:00
|
|
|
<td>
|
2016-04-01 05:33:25 +08:00
|
|
|
<table>
|
|
|
|
<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>
|
|
|
|
<%- if show_name_on_post(post) %>
|
|
|
|
<a class="user-name" href="<%=Discourse.base_url%>/users/<%= post.user.username_lower%>" target="_blank"><%= post.user.name %></a>
|
|
|
|
<% end %>
|
|
|
|
<%- if post.user.title.present? %>
|
|
|
|
<span class='user-title'><%= post.user.title %></span>
|
|
|
|
<% end %>
|
|
|
|
<br>
|
|
|
|
<span class='notification-date'><%= l post.created_at, format: :short_no_year %></span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2013-07-24 15:13:15 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
2013-07-26 15:27:46 +08:00
|
|
|
<tr>
|
2016-04-01 05:33:25 +08:00
|
|
|
<td class='body'><%= format_for_email(use_excerpt ? post.excerpt : post.cooked) %></td>
|
2013-07-26 15:27:46 +08:00
|
|
|
</tr>
|
2013-07-24 15:13:15 +08:00
|
|
|
</tbody>
|
|
|
|
</table>
|