X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2ef58f47a232c8a8156dd148616c198790e489d2..ff73d1225554de6f6ec2aee7bcd9faa527c0d552:/app/views/notes/_description.html.erb diff --git a/app/views/notes/_description.html.erb b/app/views/notes/_description.html.erb index 435f263c6..761b69ea2 100644 --- a/app/views/notes/_description.html.erb +++ b/app/views/notes/_description.html.erb @@ -1,7 +1,7 @@
<% description.comments.each do |comment| -%>
- <% if comment.author.nil> -%> + <% 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) %>