Use friendly_date_ago helper for changeset comments
[rails.git] / app / views / changeset_comments / _comment.html.erb
1 <h2><%= t ".comment",
2           :author => comment.author.display_name,
3           :changeset_id => comment.changeset.id.to_s %></h2>
4 <div class="changeset-comment" style="margin-top: 5px">
5   <div class="changeset-comment-description" style="font-size: smaller; color: #999999"><%= t ".commented_at_by_html", :when => friendly_date_ago(comment.created_at), :user => comment.author.display_name %></div>
6   <div class="changeset-comment-text"><%= comment.body %></div>
7 </div>