<td><img src="<%= ApplicationController.root_context -%>/images/priority/<%= review.severity -%>.png" title="<%= review.severity.capitalize -%>"/></td>
<td>
<%= link_to h(review.title), :controller => "reviews", :action => "view", :id => review.id -%>
- <div class="discussionComment">
- <h4>
- <%= image_tag("reviews/comment.png") -%> <b><%= comment.user.name -%></b> (<%= distance_of_time_in_words_to_now(comment.created_at) -%>)
- </h4>
- <%= comment.html_text -%>
+ <div class="comment-excerpt">
+ <%= image_tag("reviews/comment.png") -%> <b><%= comment.user.name -%> :</b>
+ <%= comment.excerpt -%>
</div>
</td>
<td><%= review.project.name -%>
margin: 0;
padding: 5px 10px;
}
-table#reviews-list div.discussionComment {
- background-color: transparent;
- border-top: none;
- border-left: 1px solid #DDDDDD;
- margin: 5px 0 0 10px;
- padding: 0px 10px;
-}
div.discussionComment h4 {
font-size: 90%;
margin-bottom: 2px;
div.discussionComment li {
list-style: square inside;
}
+div.comment-excerpt {
+ background-color: transparent;
+ margin: 5px;
+ padding: 0px 10px;
+ color: #777777;
+ font-size: 90%;
+}