2017-05-15 16:24:33 -04:00
|
|
|
<div class='post-wrapper <%= post.whisper? ? "whisper" : "" %> <%= use_excerpt ? "excerpt" : ""%>'>
|
|
|
|
<table>
|
2013-07-24 03:13:15 -04:00
|
|
|
<tr>
|
2017-05-15 16:24:33 -04:00
|
|
|
<td class='user-avatar'>
|
|
|
|
<img src="<%= post.user.small_avatar_url %>" title="<%= post.user.username%>">
|
|
|
|
</td>
|
2013-07-26 03:27:46 -04:00
|
|
|
<td>
|
2017-05-15 16:24:33 -04:00
|
|
|
<%- if show_username_on_post(post) %>
|
|
|
|
<a class="username" href="<%=Discourse.base_url%>/u/<%= post.user.username_lower%>" target="_blank"><%= post.user.username %></a>
|
|
|
|
<% end %>
|
|
|
|
<%- if show_name_on_post(post) %>
|
|
|
|
<a class="user-name" href="<%=Discourse.base_url%>/u/<%= 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>
|
2013-07-24 03:13:15 -04:00
|
|
|
</td>
|
|
|
|
</tr>
|
2017-05-15 16:24:33 -04:00
|
|
|
</table>
|
|
|
|
<div class='body'><%= format_for_email(post, use_excerpt) %></div>
|
|
|
|
</div>
|