X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f1189ae115e27f21b492fdeff9e1a736bdb8e6c0..4434bac3b484006d579b9229a5f69b182644eae7:/app/views/trace/_trace.rhtml diff --git a/app/views/trace/_trace.rhtml b/app/views/trace/_trace.rhtml index 7ba19395b..f6c00448b 100644 --- a/app/views/trace/_trace.rhtml +++ b/app/views/trace/_trace.rhtml @@ -10,7 +10,7 @@ <%= link_to trace.name, {:controller => 'trace', :action => 'view', :display_name => trace.user.display_name, :id => trace.id} %> ... <% if trace.inserted %> - (<%= trace.size %> points) + (<%= trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %> points) <% end %> ... <%= time_ago_in_words( trace.timestamp ) %> ago <%= link_to 'more', {:controller => 'trace', :action => 'view', :display_name => trace.user.display_name, :id => trace.id} %> /