X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e91c02f2ceb2b72a77846a0c31f5eca22b9b0a65..0195dd60a4172f4d972e51322867e7ae707afad0:/app/views/traces/_trace.html.erb diff --git a/app/views/traces/_trace.html.erb b/app/views/traces/_trace.html.erb index 74e096dd1..9ee58cf22 100644 --- a/app/views/traces/_trace.html.erb +++ b/app/views/traces/_trace.html.erb @@ -25,20 +25,18 @@ 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") %> - + <%= friendly_date_ago(trace.timestamp) %> <%= t ".by" %> <%= link_to trace.user.display_name, user_path(trace.user) %> <% if !trace.tags.empty? %> <%= t ".in" %> <%= safe_join(trace.tags.collect { |tag| link_to_tag tag.tag }, ", ") %> <% end %>

-

+

<%= trace.description %>