]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/_trace.html.erb
Move sidebar pagination to helpers
[rails.git] / app / views / traces / _trace.html.erb
index 832187b79306acda89b58896a595daf054b01ca7..9ee58cf22122beff7633c1f02bd71c73f5c67e73 100644 (file)
@@ -29,9 +29,7 @@
       </li>
     </ul>
     <p class="text-muted mb-0">
-      <span title="<%= trace.timestamp %>">
-        <%= time_ago_in_words(trace.timestamp, :scope => :"datetime.distance_in_words_ago") %>
-      </span>
+      <%= friendly_date_ago(trace.timestamp) %>
       <%= t ".by" %> <%= link_to trace.user.display_name, user_path(trace.user) %>
       <% if !trace.tags.empty? %>
         <%= t ".in" %>