X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a9a00acf68ceee07d384ea8bcc52ca70508ccfb1..8a6c34fa78cf4fa52332d90448dae50087f2b510:/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 ba14f214e..9ee58cf22 100644 --- a/app/views/traces/_trace.html.erb +++ b/app/views/traces/_trace.html.erb @@ -25,13 +25,11 @@ 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" %>