Commit 09c72a1f9e7850317e45decce98714251d6adecc

simple_format() comments on dashboard page as well

Commit diff

app/views/site/dashboard.html.erb

 
44 <h2>Recent comments on your commits</h2>
55 <% @recent_comments.each do |comment| -%>
66 <div class="comment">
7 <p class="body"><%= sanitize(comment.body) -%></p>
7 <div class="body"><%= simple_format(sanitize(comment.body)) -%></div>
88 <p class="byline hint">
99 on <%= link_to h(comment.repository.name), project_repository_comments_path(comment.project, comment.repository, :anchor => dom_id(comment)) -%>
1010 <% unless comment.sha1.blank? -%>
toggle raw diff

public/stylesheets/base.css

 
739739 padding-right: 10px;
740740 border-right: 1px dotted #dedede;
741741}
742
742#site #recent_comments .comment { width: 100%;}
743743#site #recent_comments .comment .body {
744744 font-size: 90%;
745745}
toggle raw diff