X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2c5e981684defe603e9c579a2e59dedf30dc9745..01cbc40ed62f006398bcce62fc1f449b432b59b1:/app/views/traces/_trace.html.erb?ds=sidebyside diff --git a/app/views/traces/_trace.html.erb b/app/views/traces/_trace.html.erb index 44de2ef06..9ee58cf22 100644 --- a/app/views/traces/_trace.html.erb +++ b/app/views/traces/_trace.html.erb @@ -25,33 +25,33 @@ 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 %>

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