]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/_trace.html.erb
Move status into the settings object
[rails.git] / app / views / traces / _trace.html.erb
index b81e190255a07ef0a0733d43268b40f1bcb16b22..849695e80f86514fb7321b2fc8c129a88edd65d0 100644 (file)
@@ -1,7 +1,7 @@
 <tr>
   <% cl = cycle('table0', 'table1') %>
   <td class="<%= cl %>">
-    <% if STATUS != :gpx_offline %>
+    <% if Settings.status != "gpx_offline" %>
       <% if trace.inserted %>
         <a href="<%= url_for :controller => 'traces', :action => 'show', :id => trace.id, :display_name => trace.user.display_name %>"><img src="<%= url_for :controller => 'traces', :action => 'icon', :id => trace.id, :display_name => trace.user.display_name %>" border="0" alt="" /></a>
       <% else %>