]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset_comments/_comment.html.erb
Remove simulating clicks on <a> when <li> is clicked
[rails.git] / app / views / changeset_comments / _comment.html.erb
index 3b8314decf28c6b082aef69dc0175757dc759034..a312e4f0f06d6e9db68a222bd48fce4b1cc9e543 100644 (file)
@@ -2,6 +2,6 @@
           :author => comment.author.display_name,
           :changeset_id => comment.changeset.id.to_s %></h2>
 <div class="changeset-comment" style="margin-top: 5px">
           :author => comment.author.display_name,
           :changeset_id => comment.changeset.id.to_s %></h2>
 <div class="changeset-comment" style="margin-top: 5px">
-  <div class="changeset-comment-description" style="font-size: smaller; color: #999999"><%= t ".commented_at_by_html", :when => friendly_date(comment.created_at), :user => comment.author.display_name %></div>
+  <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>
   <div class="changeset-comment-text"><%= comment.body %></div>
 </div>
   <div class="changeset-comment-text"><%= comment.body %></div>
 </div>