X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1df4ad819cb5151d1bdd7bb98cf4833d219bd09d..42ef10ba80bf7ff13b4f9210e5fbf54538e0d52f:/app/views/trace/_trace.html.erb diff --git a/app/views/trace/_trace.html.erb b/app/views/trace/_trace.html.erb index a3ae1fb08..8addd5c1c 100644 --- a/app/views/trace/_trace.html.erb +++ b/app/views/trace/_trace.html.erb @@ -1,7 +1,7 @@ <% cl = cycle('table0', 'table1') %> - <% if OSM_STATUS != :gpx_offline %> + <% if STATUS != :gpx_offline %> <% if trace.inserted %> <% else %> @@ -10,7 +10,7 @@ <% end %> <%= link_to trace.name, {:controller => 'trace', :action => 'view', :display_name => trace.user.display_name, :id => trace.id} %> - ... + ... <% if trace.inserted %> (<%= t'trace.trace.count_points', :count => trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %>) <% end %>