X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b70da7b8ea15ab48bb2f34155567cea6dffc8fc9..7df4a7f8a3858d9fdb92f5df4c7056181bf91046:/app/views/traces/_trace.html.erb diff --git a/app/views/traces/_trace.html.erb b/app/views/traces/_trace.html.erb index 7dc20c203..832187b79 100644 --- a/app/views/traces/_trace.html.erb +++ b/app/views/traces/_trace.html.erb @@ -25,12 +25,12 @@ when "public", "identifiable" then "success" else "danger" end %> - <%= t(".#{trace.visibility}") %> + <%= t(".#{trace.visibility}") %>

- <%= time_ago_in_words(trace.timestamp, :scope => :'datetime.distance_in_words_ago') %> + <%= time_ago_in_words(trace.timestamp, :scope => :"datetime.distance_in_words_ago") %> <%= t ".by" %> <%= link_to trace.user.display_name, user_path(trace.user) %> <% if !trace.tags.empty? %> @@ -38,20 +38,22 @@ <%= safe_join(trace.tags.collect { |tag| link_to_tag tag.tag }, ", ") %> <% end %>

-

+

<%= trace.description %>

<% if trace.inserted? %> - + <% end %>