X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d14cf519fd876274900758a903e7e390d38922d5..141df02e671d7c559f6d813bde1d792a159f1875:/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 9b8b16a63..849695e80 100644
--- a/app/views/traces/_trace.html.erb
+++ b/app/views/traces/_trace.html.erb
@@ -1,15 +1,15 @@
<% cl = cycle('table0', 'table1') %>
- <% if STATUS != :gpx_offline %>
+ <% if Settings.status != "gpx_offline" %>
<% if trace.inserted %>
-
+
<% else %>
<%= t '.pending' %>
<% end %>
<% end %>
|
- <%= link_to trace.name, { :controller => 'traces', :action => 'view', :display_name => trace.user.display_name, :id => trace.id } %>
+ | <%= link_to trace.name, { :controller => 'traces', :action => 'show', :display_name => trace.user.display_name, :id => trace.id } %>
...
<% if trace.inserted %>
(<%= t '.count_points', :count => trace.size.to_s.gsub(/(\d)(?=(\d{3})+$)/,'\1,') %>)
|