Fix comment display in comment list view

This commit is contained in:
Saman Bemel-Benrud 2013-06-25 17:03:51 -04:00 committed by Tom Hughes
parent 738bc8aab8
commit 53fc883a91
2 changed files with 6 additions and 1 deletions

View file

@ -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;

View file

@ -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>