X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ff73d1225554de6f6ec2aee7bcd9faa527c0d552..30f9f95ef6f6fd0fa91e343094cdd5309213ff7a:/app/views/notes/_description.html.erb diff --git a/app/views/notes/_description.html.erb b/app/views/notes/_description.html.erb index 761b69ea2..4f03a1d59 100644 --- a/app/views/notes/_description.html.erb +++ b/app/views/notes/_description.html.erb @@ -1,12 +1,3 @@
- <% description.comments.each do |comment| -%> -
- <% if comment.author.nil? -%> -
<%= t "note.description.#{comment.event}_at", :when => friendly_date(comment.created_at) %>
- <% else -%> -
<%= t "note.description.#{comment.event}_at_by", :when => friendly_date(comment.created_at), :user => note_author(comment.author, :only_path => false) %>
- <% end -%> -
<%= comment.body %>
-
- <% end -%> + <%= render :partial => "comment", :collection => description.comments %>