X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d1d4f8192da5a266cddb17bb8970b2b04387888c..2559226be3baa2007a37689867bc945c3a6c9fe0:/app/views/issues/_comments.html.erb diff --git a/app/views/issues/_comments.html.erb b/app/views/issues/_comments.html.erb index de4989afd..a04022304 100644 --- a/app/views/issues/_comments.html.erb +++ b/app/views/issues/_comments.html.erb @@ -1,21 +1,25 @@
- <%= comment.body %> -
-<% end %> + <% comments.each do |comment| %> +
+ <%= t ".comment_from_html", :user_link => link_to(comment.user.display_name, user_path(comment.user)), + :comment_created_at => l(comment.created_at.to_datetime, :format => :friendly) %> +
+<%= comment.body %>
++ <% end %> +