mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:48:04 +08:00
put avatar in nested table
This commit is contained in:
parent
ea1a0e31ee
commit
08801b835c
|
@ -1,5 +1,8 @@
|
||||||
<table class='post-wrapper <%= post.whisper? ? "whisper" : "" %>'>
|
<table class='post-wrapper <%= post.whisper? ? "whisper" : "" %>'>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='user-avatar'>
|
<td class='user-avatar'>
|
||||||
<img src="<%= post.user.small_avatar_url %>" title="<%= post.user.username%>">
|
<img src="<%= post.user.small_avatar_url %>" title="<%= post.user.username%>">
|
||||||
|
@ -16,6 +19,9 @@
|
||||||
<span class='notification-date'><%= l post.created_at, format: :short_no_year %></span>
|
<span class='notification-date'><%= l post.created_at, format: :short_no_year %></span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class='body'><%= format_for_email(post.cooked) %></td>
|
<td class='body'><%= format_for_email(post.cooked) %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user