Fix comment display in comment list view
This commit is contained in:
parent
738bc8aab8
commit
53fc883a91
2 changed files with 6 additions and 1 deletions
|
@ -1361,6 +1361,11 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
|
|||
tr th {
|
||||
padding: $lineheight/4;
|
||||
}
|
||||
p:last-child,
|
||||
h2:last-child,
|
||||
h3:last-child {
|
||||
margin-bottom:0;
|
||||
}
|
||||
tr td {
|
||||
height: 30px;
|
||||
border-right: 1px solid $keyline;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<tr class="<%= cl %>">
|
||||
<td width="25%"><%= link_to comment.diary_entry.title, :action => :view, :display_name => comment.diary_entry.user.display_name, :id => comment.diary_entry.id %></td>
|
||||
<td width="25%"><span title="<%= l comment.created_at, :format => :friendly %>"><%= t 'diary_entry.comments.ago', :ago => time_ago_in_words(comment.created_at) %></span></td>
|
||||
<td width="50%" class="richtext"><%= comment.body %></td>
|
||||
<td width="50%" class="richtext"><%= comment.body.to_html %></td>
|
||||
</tr>
|
||||
<% end -%>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue