X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/621cb8a1effa92f6a9df1c387d035b22e16c7941..d66b4b3d2f379ed61ef2b33bb2b0507267827f98:/app/views/notes/_comment.html.erb diff --git a/app/views/notes/_comment.html.erb b/app/views/notes/_comment.html.erb index c0d6e17d3..d9c17848b 100644 --- a/app/views/notes/_comment.html.erb +++ b/app/views/notes/_comment.html.erb @@ -1,8 +1,8 @@
<% if comment.author.nil? -%> -
<%= t "note.description.#{comment.event}_at_html", :when => friendly_date(comment.created_at) %>
+
<%= t ".#{comment.event}_at_html", :when => friendly_date(comment.created_at) %>
<% else -%> -
<%= t "note.description.#{comment.event}_at_by_html", :when => friendly_date(comment.created_at), :user => note_author(comment.author, :only_path => false) %>
+
<%= t ".#{comment.event}_at_by_html", :when => friendly_date(comment.created_at), :user => note_author(comment.author, :only_path => false) %>
<% end -%>
<%= comment.body %>